|
@whiteowl I have no idea why you are being so argumentative. If you want it to sort numerically, it needs to be a number. pos_frac gives you a number. percent does not. If you prefer a percentage number to look at such as 23 instead of 0.23 then chain two functions to remove the trailing percentage from the result of reading_progress(). That way you get both a nice percentage number to look at and it will sort by that number as well. In any case, my patience is exhausted, good luck.
@thiago.eec: All template functions operate on and return strings. Numerical sorting simply re-interpretes those strings as numbers.
|