- 
    Type:
Bug
 - 
    Resolution: Works as Designed
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: None
 
- 
        1
 - 
        Not Needed
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
I am encountering an issue where a find() query that includes both sort() and limit() returns incorrect results when querying a collection with more than 10,000 records. This issue is reproducible in both MongoDB Compass UI and the CLI.
- backported by
 - 
                    
SERVER-93832 $queryStats pipelines on mongos aren't optimized
-         
 - Closed
 
 -