Preparing search index...
The search index is not available
mingo
mingo
operators/pipeline/sort
$sort
Function $sort
Sorts all input documents and returns them to the pipeline in sorted order.
See
usage
.
$sort
(
collection
,
expr
,
options
)
:
Iterator
Parameters
collection
:
Iterator
expr
:
unknown
options
:
Options
Returns
Iterator
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mingo
Loading...
Sorts all input documents and returns them to the pipeline in sorted order.
See usage.