List<PersistentOrderRootType> () { List<PersistentOrderRootType> allTypes = new ArrayList<>(); Collections.addAll(allTypes, getAllPersistentTypes()); allTypes.sort((o1, o2) -> o1.name().compareToIgnoreCase(o2.name())); return allTypes; }