title: How to use Orderby for creating dynamic linq queries?
body: <p>I have linq query which is as follows</p>
  
  <pre><code>string sortby="Date"; //it can be name or something else as well
  
  var query=(from t in Uow.Transactions.GetAllWithReferences()
             orderby t.Date descending
             select t);
  </code></pre>
  
  <p>But I want to orderby differently based on sortby variable value. How can i do that using Linq?</p>