comparator

A Comparator that ranks players in descending order (highest score first). It uses the value returned by getValue to compare two Players. The negative sign ensures that players with higher tie-breaker values are sorted to the top of the list.