how to sort a command line log alphabetically code example Example: alphabetically order text file sort file.txt -o file.txt