Method Sort
Sort<TInput>(SortDefinition<TInput>)
Creates a $sort stage.
Parameters
sort
SortDefinition <TInput>The sort.
Returns
- Pipeline
Stage <TInput, TInput>Definition The stage.
Type Parameters
TInput
The type of the input documents.
Creates a $sort stage.
sort
SortThe sort.
The stage.
TInput
The type of the input documents.