2
According to "man sort" there are two ways to sort numerically:
-g, --general-numeric-sort
compare according to general numerical value
and
-n, --numeric-sort
compare according to string numerical value
What's the difference between these "values"?
The example below has been insufficient to demonstrate it to me
$ cat numbers.txt
1
1.0
01
010
10
$ sort -n numbers.txt
01
1
1.0
010
10
$ sort -g numbers.txt
01
1
1.0
010
10