I have an array of edges that lying on a mesh, forming a closed loop.
If I convert the edges to verts, I get an array of verts.
How can I sort the vert array so that as I move around the ring of edges, they are in order?
At the moment, because the verts are returned as a bitarray they are obviously ordered from smallest to largest which bears no relation to their position on the mesh.
I suspect this might be quite a tricky question!
Thanks in advance for any help.