title: Sorting the DataTable is not working
body: <p>I have one DataTable called "DTStage". It has two columns such as "SeqNbr" and "StageID".</p>
  
  <p>I want to sort the datatable based on "SeqNbr".</p>
  
  <p>The DataTable has the following records:</p>
  
  <pre><code>     SeqNbr         StageID
      --------      -----------
         0               1
         1               2
         2               3
         3               4
         4               5
         5               6
         6               7
         7               8
         8               9
         9               10
         10              11
         11              12
         12              13
         13              14
         14              15
         15              16
         16              17
         18              18
         17              19
  </code></pre>
  
  <p>I have used two methods to sort this datatable, they are as follows:</p>
  
  <pre><code> DTStage = new DataView(DTStage, "", "SeqNbr asc", DataViewRowState.CurrentRows).ToTable();
  
                       &amp;
  
   DataView dv = DTStage.DefaultView;
   dv.Sort = DTStage.Columns["SeqNbr"] + " asc";
   DTStage = dv.ToTable();
  </code></pre>
  
  <p>But both gives the same result as follows:</p>
  
  <pre><code>     SeqNbr         StageID
      --------      -----------
          0               1
          1               2
         10               11
         11               12
         12               13
         13               14
         14               15
         15               16
         16               17
         17               19
         18               18
          2               3
          3               4
          4               5
          5               6
          6               7
          7               8
          8               9
          9               10
  </code></pre>
  
  <p>Why this is not working properly? How to solve this problem?</p>