reorder lines of a text file bash code example Example: alphabetically order text file sort file.txt -o file.txt