Linux Sort By First Column Link to heading
Using the sort
command you can sort a list of lines by a particular column.
# this will sort lines by the first column
sort -s -n -k 1,1
Example Link to heading
Sort directory entries by size:
du -h | sort -snk 1,1