title: ngGrid Clear Sorting Data
body: <p>I would like to be able to remove the sorting data from ng-grid. In the example below, I would like to remove the sorting when I press 'Sort'. </p>
  
  <p>I have been reading the ng-grid.js and I found a function called ClearSortingData(). I don't know how to implement it, or if it's supposed to do what I want. </p>
  
  <pre><code>self.clearSortingData = function (col) {
      if (!col) {
          angular.forEach(self.lastSortedColumns, function (c) {
              c.sortDirection = "";
              c.sortPriority = null;
          });
          self.lastSortedColumns = [];
      } else {
          angular.forEach(self.lastSortedColumns, function (c) {
              if (col.index !== c.index) {
                  c.sortDirection = "";
                  c.sortPriority = null;
              }
          });
          self.lastSortedColumns[0] = col;
          self.lastSortedColumns.length = 1;
      }
  }; 
  </code></pre>
  
  <p>Here is the <a href="http://plnkr.co/edit/m9INnbNs9fzytj5wxASi?p=preview" rel="nofollow">plunker</a> example. Thank you.</p>