Method Sort
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Sort(SortDefinition)
Sorts the the documents.
public abstract IFindFluent<TDocument, TProjection> Sort(SortDefinition<TDocument> sort)
Parameters
sort
SortDefinition
The sort.
Returns
IFindFluent<TDocument, TProjection>
The fluent find interface.