Am trying to sort datatable dt, but its not working. Time Elapsed is my column name in dt. want to sort by DESC
<pre><code>public static DataTable resort(DataTable dt)       
{

    string sortByColumnsStr = "Time Elapsed  DESC";
    DataView dtview = new DataView(dt);
    dtview.Sort = sortByColumnsStr;
    DataTable dtsorted = dtview.ToTable();        
    return dtsorted;
}
</code></pre>
