Reorder planes of a irregular mesh

To get the faces connected to a vertex, you can use this function
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Collections_MeshVertexList_GetVertexFaces.htm

like this:

vertexfaces.gh (5.3 KB)