title: AngularJS orderBy function being ignored in ng-repeat
body: <p>The orderBy function is being completely ignored. I've added a console.log at one point for testing and the function isn't even being called. The data is still displayed but is unordered.</p>
  
  <p>HTML Code</p>
  
  <pre><code>&lt;div id="tabs"&gt;
      &lt;a ng-repeat="tab in tabs | orderBy:tabordinal" id="tab-{{tab.tab_id}}" class="{{getClasses(tab)}}" ng-click="tabclick(tab)"&gt;{{tab.label}}&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>JS Function</p>
  
  <pre><code>$scope.tabordinal = function (tab) {
      return $scope.taborder.indexOf(tab.tab_id);
  };
  </code></pre>
  
  <p>Everything else is set up correctly, (i.e. ng-click's work properly, the data is bound properly, and filters are working on the other elements.</p>