Description Usage Arguments Value
Add a $sort stage to a MongoPipeline.
1 2 3 4 |
p |
A MongoPipeline instance. |
... |
Named arguments for sort fields, indicating whether to sort in ascending (1) or descending (-1) order. |
A copy of the previous pipeline, with the new stage added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.