use of org.hisp.dhis.category.comparator.CategoryComboSizeNameComparator in project dhis2-core by dhis2.
the class LoadFormAction method getSortedCategoryCombos.
private List<CategoryCombo> getSortedCategoryCombos(Set<CategoryCombo> categoryCombos) {
List<CategoryCombo> listCategoryCombos = new ArrayList<>(categoryCombos);
Collections.sort(listCategoryCombos, new CategoryComboSizeNameComparator());
return listCategoryCombos;
}
Aggregations