docs: public static boolean sortingOrderHasNonGroupingFields(DefaultLimitSpec limitSpec, List<DimensionSpec> dimensions)
    {
      for (OrderByColumnSpec orderSpec : limitSpec.getColumns()) {
        int dimIndex = OrderByColumnSpec.getDimIndexForOrderBy(orderSpec, dimensions);
        if (dimIndex < 0) {
          return true;
        }
      }
      return false;
    }