If I have a text file with the following appearance:
john1337 score: 80
may10 score: 23
dfawfawf score: 40
heyhey score: 100
flow32 score: 25
How do I read only the top 3 scores in order and display them?
So it would be:
heyhey score: 100
john1337 score: 80
dfawfawf score: 40
Im trying to avoid sorting the integers by the names i.e 'john1337' and instead displaying the actual score-line in order, how do I do this?