title: List(Of T) Sorting by a T property
body: <p>Can't wrap my head around this one but heres the scenario</p>
  <p>2 Simple sample class:</p>
  <pre><code>Public Class Person
  Public Name As String
  Public Age as Integer
  Public Last_Contact As New List(Of ContactInfo)
  End Class
  
  Public Class ContactInfo
  Public Contact_Date As Date
  Public Convo as String
  End Class
  </code></pre>
  <p>in the Sub:</p>
  <pre><code>Dim myPersonList as New List(Of Person)
  </code></pre>
  <p>Now i know hot to sort myPersonList by first name and by age by simply doing the following:</p>
  <pre><code>myPersonList.Sort(Function (x,y) x.name.CompareTo(y.name))
  </code></pre>
  <p>How do I sort myPerson list by the order of the Last_Contact.ContactDate which is an already sorted list</p>
  <p>So basically say in myPersonList I have</p>
  <p>{Dave, 32, {02/22/2021, &quot;Sample Convo&quot;}, {01/12/2021 &quot;Sample Convo&quot;}}, John, 34 {04/08/2020, &quot;sample convo&quot;}}</p>
  <p>How can I sort it so that the first item would be John would be the first item since the last contact date is the latest?</p>
  <p>Thank you.</p>