FtcXtensible/src/main/java/org/ftccommunity/ftcxtensible/AnnotationFtcRegister.java
private void sortOpModeMap(HashMap<String, LinkedList<Class<?>>> opModes) {
        Comparator<Class> firstComparator =
                new OpModeComparator();

        for (String key : opModes.keySet()) {
            Collections.sort(opModes.get(key), firstComparator);
        }
    }
/**
     * This sorts the {@link LinkedList<Class>} sorting the OpModes given by a special character
     *
     * @param opModes the OpMode HashMap
     */
This sorts the  LinkedList sorting the OpModes given by a special character
@param opModes the OpMode HashMap
This sorts the LinkedList sorting the OpModes given by a special character @param opModes the OpMode HashMap
private void sortOpModeMap(HashMap<String, LinkedList<Class<?>>> opModes) {
        Comparator<Class> firstComparator =
                new OpModeComparator();
        for (String key : opModes.keySet()) {
            Collections.sort(opModes.get(key), firstComparator);
        }
    }
private void sortOpModeMap ( HashMap < String , LinkedList < Class < ? > > > opModes ) { Comparator < Class > firstComparator = new OpModeComparator ( ) ; for ( String key : opModes . keySet ( ) ) { Collections . sort ( opModes . get ( key ) , firstComparator ) ; } }
This sorts the {@link LinkedList<Class>} sorting the OpModes given by a special character
 @param opModes the OpMode HashMap
This sorts the { @link LinkedList<Class > } sorting the OpModes given by a special character @param opModes the OpMode HashMap