@Override
      public boolean isSelected(@NotNull AnActionEvent e) {
        var view = getProjectView(e);
        return view != null && view.currentState.getSortKey() == mySortKey;
      }
@Override
      public boolean isSelected(@NotNull AnActionEvent e)