sort file
If you do not pass in a file name, it gets its input from standard input.
-b ignore leading spaces (blanks). -n sort the data numerically. -r sort the data in reverse order. -tchar specifies the text (field) delimeter. The default is space or tab. -u unique - don't show lines that repeat. -kn sort the data on a specified key field.