```
string[] Entry = *File path*
                        var orderedEntries = Entry.OrderBy(x => int.Parse(x.Split(" ")[1]));
                        foreach (var score in orderedEntries)
                        {
                            Console.WriteLine(Entry);
                        }

```

I have a text file with the following format:
Name Highscore (The name is an inputted string and the highscore is a calculated integer)
What I want to happen is that the program outputs all of the names and high scores, ordered by their scores so the highest score is outputted first. I found this code in an answer to a similar question but when I run it, it outputs "System.String[]" instead of the actual entries.

Apologies if this is a slight duplicate, couldn't find anything that I could use to help me in this situation.