Can someone help me with sorting the list of places based on the nearest geo coordinates in this Mongo call?
Venues.find({'location.coordinates':
{ $near :
{ $geometry :
{ type : "Point" ,
coordinates: params.coordinates }
},
$maxDistance : 10000
}
});