Currently, points or coordinates are sorted by the first dimension first and then the next dimensions. This makes the indexing/pseudo-grouping start from a corner and end at the furthest opposite corner. There is nothing wrong to organize the data in this way but it's interesting whether we can start from an arbitrary point and pseudo group points around it according to their distances to it.
Thoughts:
- Transform each data points around the chosen point by absolute difference in each direction;
- Sort the transformed data;
- Transform the data back to their original values but keep the indexing.
Currently, points or coordinates are sorted by the first dimension first and then the next dimensions. This makes the indexing/pseudo-grouping start from a corner and end at the furthest opposite corner. There is nothing wrong to organize the data in this way but it's interesting whether we can start from an arbitrary point and pseudo group points around it according to their distances to it.
Thoughts: