OPTIONS

$orderby

$orderby

Deprecated since version 3.2: The $orderby operator is deprecated. Use cursor.sort() instead.

The $orderby operator sorts the results of a query in ascending or descending order.

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.