how to sort a text file in linux code example Example: alphabetically order text file sort file.txt -o file.txt