最佳答案
sort
provides two kinds of numeric sort. This is from the man page:
-g, --general-numeric-sort
compare according to general numerical value
-n, --numeric-sort
compare according to string numerical value
What's the difference?