title: Sorting/Ordering string array in rtfbox and text file
body: <p>I have a string array defined in another class that gets its values from textBoxes that I append to an rtfbox, and I can save this rtfBox to a text file in this format:</p>
  
  <ol>
  <li><p>firstname, lastname, 02/03/4567, 89</p></li>
  <li><p>John, Smith, 01/02/1995, 100</p></li>
  <li><p>aa, bb, 01/02/1995, 88</p></li>
  <li><p>cc, dd, 08/09/7777, 22</p></li>
  </ol>
  
  <p>I append this string array to the rtfbox using:</p>
  
  <pre><code>return (Convert.ToString(studentID) + ", " + firstName + ", " + lastName + ", " +
          dob + ", " + Convert.ToString(averageMark));
  
  bc[0] = new Student(studentID, firstName, lastName, dob, averageMark);
  
  for (int i = 0; i &lt; 1; i++)
  {
      string bcString = bc[i].bankCustomerToString() + "\r\n";
      richTextBox1.AppendText(bcString);
  }
  </code></pre>
  
  <p>Is there a way I could order the text file or active <code>rtfbox</code> by <code>averageMark</code> and then by <code>dateofbirth</code> with a button?</p>