List<AttributesDescriptor> () { JavaColorSettingsPage page = new JavaColorSettingsPage(); List<AttributesDescriptor> result = Arrays.asList(page.getAttributeDescriptors()); Collections.sort(result, (o1, o2) -> o1.getKey().getExternalName().compareToIgnoreCase(o2.getKey().getExternalName())); return result; }