Sorting a datatable with datatable.DefaultView.Sort
<p>I'm trying to sort a datatable. But it's not working.</p>

<pre><code>arr[0] = "name"; 
arr[1] = "DESC";

myDataSet.Tables["table1"].DefaultView.Sort = arr[0] + " " + arr[1];
</code></pre>

<p>Here, <code>myDataSet</code> refers to dataset I'm using for the reportviewer.</p>

<p>Am I missing something? Is there any other way?</p>
