Is there a way of sorting an array into either numerical or alphabetical order? i'm using a blur function called "get_all_files_in_dir_rec" (thanks guys) to scan various folders for their contents and then using Rollout creator to generate a custom rollout with buttons for each file. So i can use it to scan for maxfiles for a merge dialog, and jpgs for a background image. Which ever i try depends on the dialog that is created.
but it seems to order the array in a random fashion. Is there a better way of doing this, either by finding these files a different way, or by sorting the array afterwards?
It would be interesting to see if you could sort the contents of an array by the save date too.
Grateful as always, of any help