tablesorter icon indicating copy to clipboard operation
tablesorter copied to clipboard

Sorting for file size is missing? Normal numeric parser won't work.

Open Emasoft opened this issue 3 years ago • 2 comments
trafficstars

Hi, can somebody help me? I can't find a parser for sorting file sizes correctly. This is my table:

filesize sorting

As you can see the parser sorts '260 bytes' like it was bigger than '2 Mb', disregarding the units completely. Any help is appreciated! Thx!

Emasoft avatar Jul 29 '22 08:07 Emasoft

Hi @Emasoft!

I think you're looking for the metric parser

Mottie avatar Jul 29 '22 13:07 Mottie

Thanks!!! Tablesorter is truly magic! 😃

Emasoft avatar Jul 29 '22 22:07 Emasoft