how to sort lines of a text file into sections code example Example: alphabetically order text file sort file.txt -o file.txt