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

[BUG] Sort should be numeric #190

Open
pandiloko opened this issue Aug 24, 2020 · 0 comments
Open

[BUG] Sort should be numeric #190

pandiloko opened this issue Aug 24, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pandiloko
Copy link

Sort should be numeric instead of alphabetic

when sorting by memory, threads or CPU 15 comes after 2 because (apparently) it uses alphabetic sorting.

To Reproduce

This happens if you have a number that comes alphabetically before but has a higher absolute value than other. (e.g. 15 and 2 or 25 and three).

Expected behavior

should behave like coreutils sort -n (numeric sort)

Screenshots

2020-08-24-14:31:37

Info (please complete the following information):

  • Bashtop version: 0.9.25
  • (Linux) Linux distribution and version: Ubuntu 18.04 updated
  • Terminal used: Konsole
  • Font used: Hack NerdFont Regular
  • Bash version, bash --version (version 4.4 or above is required): 4.4.20
  • Locales: output of locale -v
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC=C.UTF-8
LC_TIME=C.UTF-8
LC_COLLATE="C.UTF-8"
LC_MONETARY=C.UTF-8
LC_MESSAGES="C.UTF-8"
LC_PAPER=C.UTF-8
LC_NAME=C.UTF-8
LC_ADDRESS=C.UTF-8
LC_TELEPHONE=C.UTF-8
LC_MEASUREMENT=C.UTF-8
LC_IDENTIFICATION=C.UTF-8
LC_ALL=

Additional context

contents of $HOME/.config/bashtop/error.log

New instance of bashtop version: 0.9.25 Pid: 5478
PSUTIL ERROR! Command: get_disks(exclude='squashfs')
not sure how to interpret line '   7       0 loop0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n'
@pandiloko pandiloko added the bug Something isn't working label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants