Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
A student in M102 asks "The video indicates that $near sorts automatically by descending distance. My interpretation of descending would be that the location the greatest distance away is listed first and the closest location is listed last which seems counter-intuitive. The documentation is non-specific for the sort order of $near. Can you please clarify this?"
And sure enough, we do not specify what "sorted by distance" means. Descending? Ascending? Can it be changed with -1?