orderBy method

QueryPlatform orderBy(
  1. Iterable<List> orders
)

Creates and returns a new QueryPlatform that's additionally sorted by the specified field. The field may be a String representing a single field name or a FieldPath.

After a FieldPath.documentId order by call, you cannot add any more orderBy calls. Furthermore, you may not use orderBy on the FieldPath.documentId field when using startAfterDocument, startAtDocument, endBeforeDocument, or endAtDocument because the order by clause on the document id is added by these methods implicitly.

Implementation

QueryPlatform orderBy(Iterable<List<dynamic>> orders) {
  throw UnimplementedError('orderBy() is not implemented');
}