JDK

java.util.Comparator::thenComparing has unnecessary type restriction