Method Sort
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Sort(SortDefinition)
Appends a sort stage to the pipeline.
IAggregateFluent<TResult> Sort(SortDefinition<TResult> sort)
Parameters
sort
SortDefinition
The sort specification.
Returns
The fluent aggregate interface.