List<AnAction> (@NotNull List<? extends AnAction> actions, @NotNull DataContext context) { final SortedList<AnAction> result = new SortedList<>(ACTION_BUTTONS_SORTER); result.addAll(actions); return result; }