I also moved the icon sorting function call outside of the VM-Remove-DesktopFiles call since it felt a little out of place as it's not removing desktop files, rather, it's sorting icons on the desktop, and it also made it more clear what individual steps were being performed when calling VM-Clean-Up
This fixes https://github.com/mandiant/VM-Packages/issues/974
I also moved the icon sorting function call outside of the
VM-Remove-DesktopFiles
call since it felt a little out of place as it's not removing desktop files, rather, it's sorting icons on the desktop, and it also made it more clear what individual steps were being performed when callingVM-Clean-Up