View Single Post
Old 09-17-2024, 12:40 AM   #5
madhatter10
Junior Member
madhatter10 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2023
Device: Kindle Oasis
Smile Kindle Series Order

Good day! I know this is an old thread but hopefully, someone can still give me some input.

I have tried the code given by @chaley, however it is not sorting the decimals in the correct order.
This is currently my plugboard.
{series}{series_index:'contains($, '\.', re(format_number($, '0>5.2f'), '0*$', ''), format_number($, '0>2d'))'| - | - }{title}

Series order appear this way in my Kindle device:
01.1
01

How do I make 01 sort before 01.1?

PS. I do like that series appear as "01" if without decimals.
madhatter10 is offline   Reply With Quote