title: AngularJS ng-repeat orderBy date for ascending sorting not working
body: <p></p>
  
  <pre><code>                                &lt;li ng-repeat="item in a.b.c | orderBy:'item.date'"&gt;
  
                                          &lt;a href="javascript:void(0);"&gt; item1-2015&lt;/a&gt;
  
  
                                          &lt;a href="javascript:void(0);" &gt;item2-2015&lt;/a&gt;
  
                                  &lt;/li&gt;
                              &lt;/ul&gt;
  </code></pre>
  
  <p>Date I am getting from JSON.Like 2015,i have other values with different years.I need to sort it in an ascending way.OrderBy is not working.Any way around?</p>
  
  <p>In controller,$scope.a.b.c=[];</p>
  
  <p>MY JSON is:</p>
  
  <pre><code>{
      "sort" : [
      {
          "name" : "xyz",
          "date" : "01-02-2001"
      },
      {
          "name" : "pqr",
          "date" : "01-02-2002"
      }
      ]
  }
  </code></pre>