orderBy method

TypedQuery<D> orderBy(
  1. String field, {
  2. bool descending = false,
})

Creates and returns a new Query that's additionally sorted by the specified field.

Implementation

TypedQuery<D> orderBy(
  String field, {
  bool descending: false,
}) =>
    TypedQuery(
        _firestore,
        _inner.orderBy(
          field,
          descending: descending,
        ));