Sort command in Linux is used for sorting the contents of the text files. This tutorial shows you some basic examples of the sort command.
1. To place or arrange according to class, kind, or size; classify: sorted the books into boxes by genre. See Synonyms at arrange. 2. To separate from others: sort the wheat from the chaff.