I have a file and I want it alphabetically sorted:
cat file
peptide9
peptide89
peptide99
peptide79
peptide4
peptide58
peptide990
and when I use
cat file | sort -n
the result is:
peptide4
peptide58
peptide79
peptide89
peptide9
peptide99
peptide990
I tried different options of sort, but the result is always the same!
The output I want is
peptide4
peptide9
peptide58
peptide79
peptide89
peptide99
peptide990