我正在处理角度对象。我需要排序和分页。目前我正在处理我在谷歌上搜索的角度排序,但我的排序就像数据的逆序一样,没有得到正确的排序
<th ng-click="orderByField='Number'; reverseSort = !reverseSort">Number
<span ng-show="orderByField == 'Number'">
<span ng-show="!reverseSort">
<i class="fa fa-sort-asc"></i>
</span><span ng-show="reverseSort">
<i class="fa fa-sort-desc"></i></span>
</span>
</th>
第二面是我的领域
<tr ng-repeat="ProjectsObj in Projects |orderBy:orderByField:reverseSort>