public List<AnyTypeTO> listAnyTypes() { List<AnyTypeTO> types = Collections.emptyList(); try { types = getService(AnyTypeService.class).list(); Collections.sort(types, new AnyTypeComparator()); } catch (SyncopeClientException e) { LOG.error("While reading all any types", e); } return types; }