Hi.
i have tried all spatial sort method, but it doesn't work, its gonna zigzag..
The scenario is like these pictures. In the end, i want to list distances between points in large dataset..
![2.png 2.png](https://community.esri.com/t5/image/serverpage/image-id/110214i482C713A6047A737/image-size/small?v=v2&px=200)
![3.png 3.png](https://community.esri.com/t5/image/serverpage/image-id/110211iB5630CCB5C34498A/image-size/small?v=v2&px=200)
![4.png 4.png](https://community.esri.com/t5/image/serverpage/image-id/110213i0664BA53215B12B1/image-size/small?v=v2&px=200)
1. old data points
2. merge new green points and old red points
3. reorder or sort them all.
Thanks!