I expect that it depends on the filesystem used. I'm curious if I can make FindFirstFile FindNextFile feed me files in the order I want, by writing files on the disk in the specific order.
I guess I could try it on iso + iso emulator.
Also read this.
You will often get files sorted by their filename in uppercase. A-Z and a-z will appear before _. This is not guaranteed or specified anywhere.