title: How do I order a Group result, in Linq?
body: <p>I have the following linq query, which works fine. I'm not sure how i order the group'd result.</p>
  
  <pre><code>from a in Audits
  join u in Users on a.UserId equals u.UserId
  group a by a.UserId into g
  select new { UserId = g.Key, Score = g.Sum(x =&gt; x.Score) }
  </code></pre>
  
  <p>the results are currently ordered by UserId ascending. I'm after Score descending.</p>
  
  <p>thanks :)</p>