@Override
    public @NotNull NodeSortOrder getSortOrder(@NotNull NodeSortSettings settings) {
      Group group = settings.isSortByType() ? this.group : null;
      return group == null || null == group.getCommonRootID()
             ? NodeSortOrder.MODULE_GROUP
             : NodeSortOrder.MODULE_ROOT;
    }
@Override
    public @NotNull NodeSortOrder getSortOrder(@NotNull NodeSortSettings settings)