code: public Query orderedBy( List<Ordering> orderings ) {
          return new Query(source, constraint, orderings, columns, getLimits(), distinct);
      }
docs: Create a copy of this query, but one whose results should be ordered by the supplied orderings.
  
  @param orderings the result ordering specification that should be used; never null
  @return the copy of the query that uses the supplied ordering; never null