I'm trying to orderby a value in an ng-repeat but it seems not working.
I recreated the issue in the following codepen: CodePen
N.B: orderBy 'book.contents.date' is not working: 111 is the first one it should be the last one.
<li class="animate-repeat fc-event" ng-repeat="book in books | orderBy:'book.contents.date'| filter:searchText as results track by book.contents.name"
id="{{book.id}}">