title: C# Specifying orderby in extension method
body: <p>How to specify descending in extension method</p>
  
  <pre><code>var qry=from p in context.Persons 
                     orderby p.salary descending select p;
  </code></pre>
  
  <p>extension method</p>
  
  <pre><code>var qry=context.Persons.OrderBy(c=&gt;c.salary);
  </code></pre>