@Override
    public void update(@NotNull AnActionEvent event) {
      event.getUpdateSession().compute(this, "AlphaSortAction.super.update", ActionUpdateThread.EDT, () -> {
        super.update(event);
        return null;
      });
      Presentation presentation = event.getPresentation();
      presentation.setEnabled(isValidBase());
    }
@Override
    public void update(@NotNull AnActionEvent event)