Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Emasoft opened this issue Jul 29, 2022 · 2 comments
Open

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

Emasoft opened this issue Jul 29, 2022 · 2 comments

Comments

@Emasoft
Copy link

Emasoft commented Jul 29, 2022

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!

@Mottie
Copy link
Owner

Mottie commented Jul 29, 2022

Hi @Emasoft!

I think you're looking for the metric parser

@Emasoft
Copy link
Author

Emasoft commented Jul 29, 2022

Thanks!!! Tablesorter is truly magic! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants