|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 955
Karma: 8388999
Join Date: Dec 2006
Location: Singapore
Device: Coolreader(Galaxy S)\Coolreader(Nook Touch)
|
Series Sorting with hierarchy
At the moment in calibre columns it is sorting as Orb 11 Orb 12 Orb.Malloreon 6 Orb.Malloreon 7 Orb.Malloreon 8 Orb.Malloreon 9 Orb.Malloreon 10 Orb.The Belgariad 1 Orb.The Belgariad 2 Orb.The Belgariad 3 Orb.The Belgariad 4 Orb.The Belgariad 5 I would prefer it to sort as Orb.The Belgariad 1 Orb.The Belgariad 2 Orb.The Belgariad 3 Orb.The Belgariad 4 Orb.The Belgariad 5 Orb.Malloreon 6 Orb.Malloreon 7 Orb.Malloreon 8 Orb.Malloreon 9 Orb.Malloreon 10 Orb 11 Orb 12
__________________
"Too often we... enjoy the comfort of opinion without the discomfort of thought"-JFK |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,855
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
The only way to do this is to create a composite custom column (col built from other cols) and populate it with the first item in the series hierarchy. Something like the following template:
Code:
{series:subitems(0,1)||:}{series_index:>06.2f}
If you have a large library then the following template general program mode template will be faster because calibre will compile it into python Code:
program: strcat(subitems(field('series'), 0,1), ':', format_number(field('series_index'), '{0:06.2f}'))
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Kiki's in tune
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 754
Karma: 11385092
Join Date: May 2012
Location: Australia
Device: Blackberry Playbook, Sony 650, Kobo Glo
|
Dopedangel it seems that the sort order is:
first alpha Orb then number 11 Then alpha Malloreon then alpha The So change your words around to reflect the order you want it to sort. I'd be interested to hear how it works.
Last edited by Lynx-lynx; 11-24-2012 at 07:25 AM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Series Sorting | the2ems | Library Management | 5 | 09-10-2012 07:31 AM |
| Tag browser Series hierarchy | Dopedangel | Library Management | 4 | 06-15-2012 06:20 AM |
| Series sorting in plugboard | ac4lt | Devices | 6 | 01-13-2012 12:53 PM |
| Touch Series/Collections sorting | Nakaleen | Kobo Reader | 9 | 11-04-2011 09:01 PM |
| Sorting When Viewing Series | Lady Fitzgerald | Calibre | 3 | 04-23-2010 10:34 AM |