orderByValue method

Query orderByValue()

Orders by the children's values: null, then false, true, numbers, strings, then objects by key.

Implementation

Query orderByValue() {
  _validateNoPreviousOrderByCall('orderByValue');
  final QueryParams params = spec.params.orderBy(valueIndex);
  _validateQueryEndpoints(params);
  return _with(params, ordered: true);
}