View Single Post
Old 05-04-2015, 12:28 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Under the Covers View Post
Yes, the arrow is pointing the right direction, and the same thing happens in reverse (as one would expect) with the arrow pointing the other direction. Thus, when in reverse order, the short title comes first, followed by the other two (in the same but reverse order).

As far as I can tell, all other titles sort the way I would expect -- only the short title of these 3 acts this way.
The problem stems from how calibre changes the title when the sort value is computed for library order. Using your examples, the computed values are:
Quote:
The Neutrals ==> Neutrals, The
The Neutrals & Elections ==> Neutrals & Elections, The
The Neutrals & The Movement ==> Neutrals & The Movement, The
Note that in the first line, the 's' of Neutrals is followed by a comma, while for the other two that same 's' is followed by a space. When sorting, a space is sorted before a comma, so the first (The Neutrals) is sorted after the third.

Two ways to fix this.
  1. Change the sorting from library order to strictly alphabetic (in Tweaks). This will make the titles sort in the right order but will also make "The", etc., significant.
  2. Manually change the title sort for "The Neutrals" to be "Neutrals" instead of "Neutrals, The". This will fix the sorting problem, but could have side effects in save templates. And yes, the change will show in red. Ignore it.
I would pick the second option because I cannot deal with titles like "The Neutrals" sorting under "T" instead of "N".
chaley is offline   Reply With Quote