title: Sorted dataview to datatable
body: <p>I have the following method:</p>
  
  <pre><code>private DataTable getsortedtable(DataTable dt)
  {
      dt.DefaultView.Sort = "Name desc";
      //I would need to return the datatable sorted.
  }
  </code></pre>
  
  <p>My issue is that I cannot change the return type of this method and I have to return a DataTable but i would like return it sorted.</p>
  
  <p>Are there any magic hidden property of <code>dt.DefaultView</code> to return the dt sorted?</p>