从lodash 3.5.0开始,您可以使用sortByOrder(在v4.3.0中重命名为orderBy): var data = _. ... 您甚至可以使用标准语义进行排序(asc,desc): var data = _.
確定! 回上一頁