Docs Menu

Docs HomeMongoDB Manual



Changed in version 4.4: Use in conjunction with cursor.hint() to perform a collection scan to return documents in natural order.

For usage, see Force Collection Scans example in the cursor.hint() reference page.

Starting in MongoDB 4.4, you can specify a $natural sort when running a find operation against a view.

←  $randUpdate Operators →
Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.