Sorting geometry according to multiple locations

I would really skip the distance search for indexing and follow the indexing of a mesh graph.
I think you would need to redo this part.

2 Likes