src/org/openstreetmap/josm/plugins/opendata/core/gui/ModulePreferencesModel.java
protected void sort() {
        Collections.sort(
                availableModules,
                new Comparator<ModuleInformation>() {
                    @Override
                    public int compare(ModuleInformation o1, ModuleInformation o2) {
                        String n1 = o1.getName() == null ? "" : o1.getName().toLowerCase();
                        String n2 = o2.getName() == null ? "" : o2.getName().toLowerCase();
                        return n1.compareTo(n2);
                    }
                }
                );
    }
/**
     * Sorts the list of available modules
     */
Sorts the list of available modules
Sorts the list of available modules
protected void sort() {
        Collections.sort(
                availableModules,
                new Comparator<ModuleInformation>() {
                    @Override
                    public int compare(ModuleInformation o1, ModuleInformation o2) {
                        String n1 = o1.getName() == null ? "" : o1.getName().toLowerCase();
                        String n2 = o2.getName() == null ? "" : o2.getName().toLowerCase();
                        return n1.compareTo(n2);
                    }
                }
                );
    }
protected void sort ( ) { Collections . sort ( availableModules , new Comparator < ModuleInformation > ( ) { @ Override public int compare ( ModuleInformation o1 , ModuleInformation o2 ) { String n1 = o1 . getName ( ) == null ? "" : o1 . getName ( ) . toLowerCase ( ) ; String n2 = o2 . getName ( ) == null ? "" : o2 . getName ( ) . toLowerCase ( ) ; return n1 . compareTo ( n2 ) ; } } ) ; }
Sorts the list of available modules
Sorts the list of available modules