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