int (EditorColorsScheme s1, EditorColorsScheme s2) { int order1 = getOrder(s1); int order2 = getOrder(s2); if (order1 != order2) return order1 - order2; return s1.getName().compareToIgnoreCase(s2.getName()); }