orderBy method

Query orderBy({
  1. required String field,
  2. String order = "asc",
  3. bool addId = true,
})

Implementation

Query orderBy(
        {required String field, String order = "asc", bool addId: true}) =>
    Query(
      client,
      index,
      compoundBody,
      field,
      orderBy: order,
      addId: addId,
    );