protected void sortGroupingActions(@NotNull List<? extends AnAction> actions) {
    actions.sort((o1, o2) -> Comparing.compare(o1.getTemplateText(), o2.getTemplateText()));
  }
protected void sortGroupingActions(@NotNull List<? extends AnAction> actions)