code: public Swagger2MarkupConfigBuilder withOperationOrdering(Comparator<PathOperation> operationOrdering) {
          Validate.notNull(operationOrdering, "%s must not be null", "operationOrdering");
          config.operationOrderBy = OrderBy.CUSTOM;
          config.operationOrdering = operationOrdering;
          return this;
      }
docs: Specifies a custom comparator function to order operations.
  
  @param operationOrdering operation ordering
  @return this builder