Developer data platform
Enterprise software and support
Free software used by millions
By Use Case
Developer Data Platform
Innovate fast at scale with a unified developer experience
White Papers & Presentations
Webinars, white papers, data sheet and more
Docs Home → MongoDB 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