robbiblubber.org |
show wiki show source compare to current compare to previous read history orderBy()MongoDB Driver Function Reference orderBy sorts a result set by the fields specified.
Arguments
Returns
Example
Orders all employees ascending by age, then descending by salary. home | MongoDB Driver Function Reference | MongoDB Driver |