title: orderBy dd/mm/yyyy by year angular
body: <p>The data I am receiving from a webservice is formatted as dd/mm/yyyy. The problem with this is when sorting, it sorts by dd rather than yyyy. </p>
  
  <pre><code>&lt;td ng-repeat="thead in resultHeader"&gt;
      &lt;a href="" ng-click="order(thead.line)"&gt;{{thead.head}}&lt;/a&gt;
      &lt;span class="sortorder" ng-show="predicate === thead.line" ng-class="{reverse:reverse}"&gt;&lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Controller: </p>
  
  <pre><code>$scope.order = function(predicate) {
      var results = $scope.model.resultList;
      $scope.reverse = ($scope.predicate === predicate) ? !$scope.reverse : false;
      $scope.predicate = predicate;
      $scope.model.currentPage = 1;
      $scope.model.beginFrom = 0;
  };
  </code></pre>
  
  <p>How can I sort this data by yyyy with my current set up?</p>
  
  <pre><code>{
    "name": "Test",
    "ShipmentDate": "06\/08\/2012"
  }
  </code></pre>