title: sorting and updating datatable not producing expected results
body: <p>EDIT: Solved this myself - obviously won't work as sorting the dataTable doesn't  sort the underlying data - created a dataView from the table, works fine.</p>
  
  <p>I have a datatable which I am sorting and then iterating through to remove duplicate values in one column, however the output is not as expected.</p>
  
  <p>Datatable structure:</p>
  
  <pre><code>infoRow["Title"]
  infoRow["QuickLink"]
  infoRow["Description"]
  infoRow["Date"]
  infoRow["MonthName"]
  </code></pre>
  
  <p>I'm sorting like this, which works fine, and produces a table ordered in ascending month order: </p>
  
  <pre><code>dataTable = dataTable.DefaultView.ToTable(true);
  dataTable.DefaultView.Sort = "Date asc";
  </code></pre>
  
  <p>After the sort, I'm using the code below to compare each row to the previous, and if the MonthName value is the same, replaced it with an empty string:</p>
  
  <pre><code>string prevMonthName = "";
  foreach (DataRow row in dtEvents.Rows)
  {
      string strMonthName = row["MonthName"].ToString();
      if (strMonthName == prevMonthName)
      {
          row["MonthName"] = "";
          row.AcceptChanges();
      }
      prevMonthName = strMonthName;
  }           
  </code></pre>
  
  <p>So, the problem I'm having is that even when I run the MonthName loop after the sort, it appears to be running against the unsorted data. It's like DefaultView.Sort only affects the rendered output without physically reordering the table, hence the second part of the code doesn't produce the result I need. Should I maybe be using DataView or am I just way off track...</p>