//倒叙排列数组对象 var data=[ { name:'张三', age:12 }, { name:'李四', age:17 }, { name:'王五', age:14 }, { name:'刘六', age:19 }, ] var sortArr=_.sortBy(data,item=>-item.age) console.log(JSON.stringify(sortArr))