geometry, polar_sort