Rank scores with an explicit tie rule
qsort
std::stable_sort
slices.SortStableFunc
Comparator.comparingInt and List.sort
sortedWith and compareBy