Answer: You can pass a comparison function to List.sort . someObjects.sort((a, b) => a.someProperty.compareTo(b.someProperty));
確定! 回上一頁