Creates a comparator function for the given collation spec. See https://docs.mongodb.com/manual/reference/collation/
The MongoDB collation spec. { locale: string, caseLevel: boolean, caseFirst: string, strength: int, numericOrdering: boolean, alternate: string, maxVariable: string, // unsupported backwards: boolean // unsupported }
Generated using TypeDoc
Takes all input documents and returns them in a stream of sorted documents.