read from a file run and sort

read from a file run the following command:
sort < file1.txt
sort < file1.txt > output-file.txt

Comments