Files are pulled in the order that they are stored in the FAT tables on your drives, which is usually the order they were saved in.
I say usually because if you delete a file and then save a new file, it's information is stored in the slot that was occupied by the deleted file.
If you want to sort them, you'll need to store all the information in an array and then sort it for display purposes.
I say usually because if you delete a file and then save a new file, it's information is stored in the slot that was occupied by the deleted file.
If you want to sort them, you'll need to store all the information in an array and then sort it for display purposes.