![]() |
#1 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2021
Device: Kindle
|
Issue sorting numbered titles (1, 10, 11, 2, 20, etc.)
I have numbered a series of books, as they're in a long series (The Legend of Drizzt with upwards of 40 books), so I can tell which order they go in.
However, now when I sort them by title, they appear numbered like shown in the title, e.g. 1, 10, 11, 12 . . . 2, 20, 21, 22, and so on. I'm not sure if this is a Linux issue because I was recently having similar issues in my Linux Mint file explorer. Or is there a way to have the numbers be sorted correctly? Thanks ![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,034
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,870
Karma: 7036359
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Assuming you are asking about what you see in calibre, not on a reader or in a file explorer:
See Preferences / Behavior / Recognize numbers inside text when sorting. Question: why put the series information in the title? Why not use the series column? |
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2021
Device: Kindle
|
Quote:
a) I didn't think of using another column. I haven't been using Calibre that long/that much, so I forgot you could do that. b) I'd like the sort order to be used on my reading device too, since I find navigating to be a little more difficult there. But that setting worked, thank you!! |
|
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,203
Karma: 57978778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The sort is by CHARACTER weight (position in the ASCII table), not the numeric value of digits included in the string. The common way to make strings sort is to pad the leading places (as needed to make the highest number sort). eg. highest number 500 then pad 00 for single digit, 000 if 0 20 then a single 0 pad You could use a space (ASCII%20), but those are really hard to see if you counted right, on most screens. FWIW I commonly steer folder sorts by using a leading number:0First (or force to the end:zMakethislast) lowercase sorts AFTER uppercase |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2021
Device: Kindle
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,203
Karma: 57978778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You need to maintain the most number of positions always 02 . 5 This is my Kindle METADATA Plugboard entry (I put the series name into collections as I have a K4, where that still works) Code:
{series_index:0>5.2f|| - }{title} |
|
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2021
Device: Kindle
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,023
Karma: 307903668
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
[Edit: I think it's the metadata plugboard -- already mentioned by theducks] |
|
![]() |
![]() |
![]() |
Tags |
question, sorting series |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sorting between author and titles | crazyfrank | Library Management | 2 | 04-05-2013 10:07 PM |
Wrong sorting of titles | DigiCam1 | Library Management | 6 | 01-24-2013 01:26 PM |
Opus Another sorting issue | OlleF | Bookeen | 13 | 11-15-2010 12:11 PM |
Sorting the book titles (Feature Request) | Ortep | Calibre | 15 | 11-29-2009 11:17 AM |
Sorting Titles on PDA | mifty12@ntlworl | Reading and Management | 0 | 09-04-2007 01:11 AM |