Open ytyubox opened 5 years ago
[(4,1),(3,7),(3,2),(5,4)].sort{$0.0 > $1.0}
(3, 7), (3, 2), (4, 1), (5, 4) Stable (3, 1), (3, 7), (4, 1), (5, 4) Nonstable
Stable Sorting: Merge sort, 插入排序
Stable Sorting: Merge sort, 插入排序