# Sorting with fields -- sort the third column numerically clear sort -n +2 gstats # sort the fifth column lexicographically sort +4 gstats # sort the file alphabetically omitting leading spaces clear sort md sort -b +0 md