View Single Post
Old 08-15-2012, 09:15 PM   #9
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 296
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
Yup, that's an issue Windows has long had when displaying file names that're all the same except for a number at the end, or that begin with a number.

Microsoft finally fixed that in Vista with the Aero Glass theme. (Switch to the Classic theme and Vista's Explorer mis-sorts numerical files like all Windows Explorer and File Manager versions before it.)

It's not *difficult* to write code to correctly order numbers that don't have leading zeros, one just has to decide you're going to write your sorting code to handle either case.

'Course that doesn't explain how Calibre "sorted" the files starting at 30, descended to 1 then back up.
bizzybody is offline   Reply With Quote