Rank jobs without disturbing ties
qsort
std::stable_sort
Comparator.comparingInt and List.sort
sortedWith and compareBy
usort and the spaceship operator