cat file.txt | sort -k1