@Override
  public List<AnAction> promote(@NotNull List<? extends AnAction> actions, @NotNull DataContext context) {
    ArrayList<AnAction> result = new ArrayList<>(actions);
    result.sort(ACTIONS_COMPARATOR);
    return result;
  }
@Override
  public List<AnAction> promote(@NotNull List<? extends AnAction> actions, @NotNull DataContext context)