Home Forums Game Frame General Discussion Windows Simulator Reply To: Windows Simulator

#2382
Erno
Participant

Standard sorting of the file names gives a new problem: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 sorts like: 0, 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

Should I assume that bmp files only have a numerical name (before the .bmp)?

If so, I could parse the numbers and sort them by number.
If not, if e.g., pac1.bmp, pac2.bmp, pac3.bmp etc. is also allowed, I might need to implement some magic sorting.