title: Use the angular orderBy filter to reverse an array of Dates
body: <p>How do you use the <code>orderBy</code> filter to reverse an array of Dates? I can use <code>.sort().reverse()</code> on the model itself, but I'd rather let angular do it if possible</p>
  
  <p><a href="http://jsfiddle.net/V6aZH/2/" rel="nofollow">http://jsfiddle.net/V6aZH/2/</a></p>
  
  <p><strong>JS</strong></p>
  
  <pre><code>var myApp = angular.module('myApp', []);
  
  myApp.controller('DatesCtrl', ['$scope', function($scope) {
      $scope.dates = [ new Date(2013, 0, 1), new Date(2013, 1, 1) ];
  }]);
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div ng-controller="DatesCtrl"&gt;
      &lt;div ng-repeat="d in dates" ng-bind="d | date:'medium'"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Expected Result</strong>  </p>
  
  <p>Feb 1, 2013 12:00:00 AM<br>
  Jan 1, 2013 12:00:00 AM</p>
  
  <p>According to the docs, I'd expect to be able to do it like this, but it didn't work</p>
  
  <pre><code>&lt;div ng-controller="DatesCtrl"&gt;
      &lt;div ng-repeat="d in dates | orderBy:'d':true" ng-bind="d | date:'medium'"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>