![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Mar 2018
Device: 4th Gen Kindle
|
Incorrect Title Sort
I have a series that is improperly title sorting. 1 is showing above 10, 2 above 20, and so on.
How do I get it to sort the number properly. ![]() An example of what I am talking about. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,031
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibre (and many file managers) does Alpha sorts (left to right character weights)
If you want 5 to be befor 50, then it is 05, 50 pad single digits with leading 0's There are examples on how to do this on the Save to Device template form |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,322
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Preferences->Tweaks->recognize numbers in string while sorting
|
![]() |
![]() |
![]() |
#4 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,913
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Brilliant. Thanks!
|
![]() |
![]() |
![]() |
#5 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
Quote:
I have a hard time finding certain Tweaks since they are not in any kind of order (alphabetical). So it may be there. Thanks for a GREAT program Kovid. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Mar 2018
Device: 4th Gen Kindle
|
Thanks for that.
I didn't find that tweak, but ID: numeric_collation was what I was looking for. |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#8 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,913
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
I suspect Kovid was typing from memory. I used the Recognize numbers inside text when sorting option and it worked fine for sorting book titles 'correctly'. There's really no difference (to a programmer) between "in string" and "inside text".
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,322
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah sorry wasn't at my comp to check th exact wording.
|
![]() |
![]() |
![]() |
#10 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I notice there's a comment on this tweak that enabling it may cause issues with titles that begin with numbers. What sort of issues are likely to arise?
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,322
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not sure, I think the sorting for them is incorrect, other than that, I cant remember any issues.
|
![]() |
![]() |
![]() |
#12 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
No problem. Thanks!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sort by Author doesn't then sort by title | jmcging | Library Management | 7 | 07-02-2017 10:16 PM |
'Title Sort' & 'Author Sort' Search/Report | Funkybassman | Calibre | 3 | 04-17-2016 12:31 PM |
Update 'title sort' and 'author sort' through CLI | wladdy | Library Management | 1 | 07-16-2015 05:12 PM |
How do I set sort title based on the title with multiple books? | loviedovie | Calibre | 2 | 02-09-2015 03:08 PM |
[Old Thread] Incorrect title sort order | SkyDream | Calibre | 12 | 07-07-2010 03:03 AM |