Skip to main content
1 of 2
whoami
  • 4k
  • 7
  • 29
  • 26

I think you need the -n flag for sort#

According to man sort:

-n, --numeric-sort
    compare according to string numerical value

edit

The print0 may have something to do with this, I just tested this. Take the print0 out.

whoami
  • 4k
  • 7
  • 29
  • 26