title: Conditional "orderby" sort order in LINQ
body: <p>In LINQ, is it possible to have conditional orderby sort order (ascending vs. descending).</p>
  
  <p>Something like this (not valid code):</p>
  
  <pre><code>bool flag;
  
  (from w in widgets
   where w.Name.Contains("xyz")
   orderby w.Id (flag ? ascending : descending)
   select w)
  </code></pre>