title: Column in table sorted by default
body: <p>Have a table that can sort each column in the table working fine. I was wondering how the table decides what to sort by by default. I think currently it is sorting by the first column (which kind of makes sense) but i'd prefer it to sort by something else as a default. I want it to sort by time, most recent time on top, and when I call the same sort method I have to sort the column when a user clicks on them it won't work the same. I have <a href="http://plnkr.co/edit/2G9WyMPlVZV4J06xNXRo?p=preview" rel="nofollow">this plunker</a> here.</p>
  
  <p>The method I have to order the columns based on which one is clicked is</p>
  
  <pre><code>  $scope.order = function(predicate, reverse) {
      $scope.reverse = !$scope.reverse;
      $scope.recentalerts = orderBy($scope.recentalerts, predicate, $scope.reverse);
    };
  </code></pre>
  
  <p>and I am just trying to use the same call I use in the html to sort by default on the time column:</p>
  
  <pre><code>$scope.order('-time');
  </code></pre>
  
  <p>but when i load up the plunker nothing happens as I expected it to.</p>