void (final List<? extends BaseInjection> injections) { injections.sort((o1, o2) -> { final int support = Comparing.compare(o1.getSupportId(), o2.getSupportId()); if (support != 0) return support; final int lang = Comparing.compare(o1.getInjectedLanguageId(), o2.getInjectedLanguageId()); if (lang != 0) return lang; return Comparing.compare(o1.getDisplayName(), o2.getDisplayName()); }); }