View Single Post
Old 03-28-2023, 08:02 AM   #2
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by maddz View Post
Before I start fiddling with templates, can anyone confirm how the series sort on a Kobo would work if I include subseries (where there is one) in the series?

I'm thinking something along the lines of

<i>Series - Series Index : Subseries - Subseries Index</i>

Obviously, I'd suppress everything to the right of Series Index if there was no subseries for that particular book.

Will it sort by the series index or by the complete string?
You are adding this as a collection? Where each collection entry contains 1 book? If so, and if you sort the collection by "Collection name" then it will sort by the entire string. However, that isn't bad as long as you zero-pad the series numbers. An alphabetic sort will be correct

For example, ignoring the subseries and assuming you don't have any series indices larger than 99:
  • Series X, index 5
  • Series A, index 20
  • Series A, index 4
  • Series X, index 10
would be (correctly) sorted as
  • A - 04
  • A - 20
  • X - 05
  • X - 10
The same process extends to the subseries. The subseries names will sort together, then the subseries index in order.

If you don't zero-pad the series you would get:
  • A - 20
  • A - 4
  • X - 10
  • X - 5
chaley is offline   Reply With Quote