Wazaterm » Linux Commands » sort

How to use sort Linux command

The sort is a command to sort, merge, or compare all the lines from the files given (or standard input.)

Usage

Sort numerically and reversed order from standard input

$ sort -n -r