Im currently writing a script, which will delete all files and subdirectories withing a root folder (e.g. D:\). The script itself is working fine, but i somehow want to sort the file list im getting from the _FileListToArrayFunction to be by type alphabetically.
Let me get you an example:
The above example is how i want it, but the _FileListToArray returns the file list sorted just alphabetically (by name) i think
A good example is when you are browsing the System32 folder in Windows.
Then you first get Folder shown from A-Z then the files from A-Z
How can this be done?
Any help is appreciated!
Thanks in advance