Skip to content

KKManager Card Browser - Sort by file size sorts by number, but ignores KB vs MB #242

@georgerickle

Description

@georgerickle

Describe the bug
Four cards of sizes,
399 KB,
4.1 MB
450 KB
5 KB
will sort in that order, the correct order is
5KB
399KB
450KB
4.1MB

Expected behavior
Probably easier to just list absolute bytes instead of using suffixes.

To Reproduce
Steps to reproduce the behavior:

  1. View, Card Browser
  2. Size, to sort by size
    ....
  3. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions