title: linq multiple order DESCENDING
body: <pre><code>.OrderBy(y =&gt; y.Year).ThenBy(m =&gt; m.Month);
  </code></pre>
  
  <p>How to set <code>descending</code> order?</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>I tried this:</p>
  
  <pre><code>var result = (from dn in db.DealNotes
                           where dn.DealID == dealID                         
                           group dn by new { month = dn.Date.Month, year = dn.Date.Year } into date
                           orderby date.Key.year descending
                           orderby date.Key.month descending
                           select new DealNoteDateListView { 
                               DisplayDate = date.Key.month + "-" + date.Key.year,
                               Month = date.Key.month,
                               Year = date.Key.year,
                               Count = date.Count()
                           })
                           //.OrderBy(y =&gt; y.Year).ThenBy(m =&gt; m.Month)
                           ;
  </code></pre>
  
  <p>And it seems working. Is it wrong to use <code>orderby</code> twice like I used it here?</p>