public static <T extends Class<?>> void sortByPriority(List<T> someClasses) {
        sortByPriority(someClasses, PriorityUtils::priorityOf);
    }
public static < T extends Class < ? > > void sortByPriority ( List < T > someClasses ) { sortByPriority ( someClasses , PriorityUtils :: priorityOf ) ; }
A specialisation of {@link #sortByPriority(List, ToIntFunction)} for a list of classes.

@param someClasses the list of classes to sort.