order by nearest point update