Rank equal scores by a second key
qsort
std::stable_sort
slices.SortStableFunc
Comparator.comparingInt and List.sort
usort and the spaceship operator