title: How to Sort a List<> by a Integer stored in the struct my List<> holds
body: <p>I need to sort a highscore file for my game I've written.</p>
  
  <p>Each highscore has a Name, Score and Date variable. I store each one in a List.</p>
  
  <p>Here is the struct that holds each highscores data.</p>
  
  <pre><code>struct Highscore
  {
      public string Name;
      public int Score;
      public string Date;
  
      public string DataAsString()
      {
          return Name + "," + Score.ToString() + "," + Date;
      }
  }
  </code></pre>
  
  <p>So how would I sort a List of type Highscores by the score variable of each object in the list?</p>
  
  <p>Any help is appreciated :D</p>