title: C# Sort by multiple value
body: <p>I need to sort a list on multiple values. Data comes from a MongoDb database and I load its from C#.</p>
  
  <p>SAMPLE</p>
  
  <pre><code>Unsorted            
  OwnerId     Status      Date
  123         New         2016-01-01
  456         New         2016-01-01
  789         New         2016-01-06
  123         New         2016-01-05
  456         Qualified   2016-01-05
  789         Converted   2016-01-01
  123         Qualified   2016-01-02
  
  Expected
  OwnerId     Status      Date
  123         New         2016-01-05
  123         New         2016-01-01
  123         Qualified   2016-01-02
  789         New         2016-01-06
  456         New         2016-01-01
  456         Qualified   2016-01-05
  789         Converted   2016-01-01
  </code></pre>
  
  <p>I need to show OwnerId <code>456</code> first, then <code>New</code> status first, then Date descending. </p>
  
  <p>OwnerId is a <strong>dynamic</strong> value : it's my current authenticated user in my app. I can't access this value from anywhere. OwnerId value type is a GUID in real case.</p>
  
  <p>I try this without success :
  <a href="https://stackoverflow.com/questions/1250281/c-sharp-how-to-sort-a-sorted-list-by-its-value-column">c# How to sort a sorted list by its value column</a><a href="https://stackoverflow.com/questions/1250281/c-sharp-how-to-sort-a-sorted-list-by-its-value-column">1</a></p>
  
  <p><a href="https://stackoverflow.com/questions/289010/c-sharp-list-sort-by-x-then-y">C# List&lt;&gt; Sort by x then y</a><a href="https://stackoverflow.com/questions/289010/c-sharp-list-sort-by-x-then-y">2</a></p>
  
  <p>I hope my problem is enough understandable. Do not hesitate to ask more details.
  Thanks in advance.</p>
  
  <p>Edited : </p>
  
  <p>I can't achieve this with mongo directly. I need a C# solution.</p>