Sort takes into consideration the distance from given point on $near queries.