View Single Post
Old 11-08-2011, 09:58 AM   #39
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by GoldThreader View Post
Not sure what you mean by ASCII
An "ASCII sort" is when you see 1 first, then 10, not 2. That's what you reported. The opposite is a numerical sort - where 2 comes after 1.

Quote:
but if you ment leading 0 that the files be numbered like 01,02 and so forth no the individual images for each page are not named like that and would be ridiculous for me to go in and name each file
If pages are numbered with leading zeros, ASCII sorting and numerical sorting are the same - 01 is followed by 02, not 10.

You don't need to use the leading zero for series numbering when adding a book to calibre since calibre does a numerical sort on that column. However, you do need to tell calibre to use leading zeros when exporting the book and creating a filename with the series index if you want your computer to sort correctly because most computers do an ASCII sort, not a numerical sort of filenames.

My comments about image filename numbering inside the book were made solely to be sure we were talking about series sorting in the calibre GUI, not page ordering inside the book. I have seen problem comics and image-based books where the pages are out of order due to the image filenames inside the CBZ and/or CBR files not being numbered with leading zeros, resulting in pages out of order when read. I wanted to make sure that wasn't what you were referring to. None of those problems were due to calibre. They were introduced when the book was created outside of calibre.

Last edited by Starson17; 11-08-2011 at 10:02 AM.
Starson17 is offline   Reply With Quote