closes #56: near funciton with limit now order by distance