docs: @Nonnull
    public Query orderBy(@Nonnull FieldPath fieldPath, @Nonnull Direction direction) {
      Preconditions.checkState(
          options.startCursor == null && options.endCursor == null,
          "Cannot specify an orderBy() constraint after calling startAt(), "
              + "startAfter(), endBefore() or endAt().");
  
      QueryOptions newOptions = new QueryOptions(options);
      newOptions.fieldOrders.add(new FieldOrder(fieldPath, direction));
  
      return new Query(firestore, path, newOptions);
    }