*ngFor="#x of array | orderBy : ['propertyName']" ... simply use input.sort() to sort ascending and input.sort().reverse() for descending.
確定! 回上一頁