So I tried this one:
Code:
program:
if '\.' in $series_index then
template('{series}{series_index:0>4.1f| #| - }{title}')
else
template('{series}{series_index:0>2d| #|. - }{title}')
fi
But it looks like it still sorts like this on my Kindle:
Quote:
The Stormlight Archive #01. - Title
The Stormlight Archive #02.5 - Title
The Stormlight Archive #02. - Title
The Stormlight Archive #03.5 - Title
The Stormlight Archive #03. - Title
The Stormlight Archive #04. - Title
The Stormlight Archive #05. - Title
|
Appreciate you giving it a shot! I think I can live with x.5 being slightly out of order for the couple series I have where there even exists books with a decimal place.