利用sort 有序排序 let arr6 = [{ id: 7, age: 2 }, { id: 5, age: 4 }, { id: 6, age: 10 }, { id: 9, age: 6 }, { id: