I wonder what your text file looks like,
If I had to do this, Mine would look like something like this;
Player1; 2000
Player2; 4000
Player3; 5000
Then I could read PlayerName and PlayerScore into a structure and sort the list of structures by points.
Sorry, Admin just new here... Made a...