I have the following problem concerning the sorting of a content of a file. I have a file called points.txt and it contains the following table of data:Jim:4Tim:8Lin:6Tom:1Esko:2Jaska:5Erkki:7 Now how can I list the following list in numerical order (highest first) or how can I list the three names with highest scores. I have tries the following by they don't seems to worksort -n -k 1,1 points.txtsort -n points.txtsort -n ^: points.txt
List the lines with the highest scores
text processing;sort