<table md-table md-progress="promise" style="margin-top: -12px">
<thead md-head md-order='item.DateCreated'">
<tr md-row>
<th md-column style="min-width: 138px;" md-order-by='item.DateCreated'>Date</th>
<th md-column ng-show="vm.showComments !== vm.POSNotes && vm.showComments !== vm.TelemarketingNotes">Code</th>
<th md-column ng-show="vm.showComments !== vm.POSNotes && vm.showComments !== vm.TelemarketingNotes">Description</th>
<th md-column>Note</th>
<th md-column style="min-width: 100px;"></th>
</tr>
</thead>
<tbody md-body>
<tr md-row ng-if="item" ng-repeat="item in vm.showComments | orderBy:'item.DateCreated':true">
<td md-cell ng-if="item.MemoCode==='MSS'|| item.MemoCode==='ADMIN' || item.MemoCode==='MEMBERSVC' || item.MemoCode==='BILLING'">{{ item.DateCreated | date: 'mediumDate' }}</td>
<td md-cell ng-if="!(item.MemoCode==='MSS'|| item.MemoCode==='ADMIN' || item.MemoCode==='MEMBERSVC' || item.MemoCode==='BILLING')">{{ item.noteDateCreated | date: 'mediumDate' }}</td>
Используя таблицу материалов, я хочу отсортировать данные по полю DateCreated. Но сортировка не работает должным образом