Rearranging a list according to UV directions

Hi guys, I have created a space truss structure using Grasshopper Lunchbox and would like to label the curves according to a UV grid. I have used “Text Tag” command to do so, and realised the list was actually generated from a corner to one another, instead of the directions of U and V.

Is there a chance the list can be rearranged according to the UV directions? Any chance I can label the curves like the one on the second picture?

Thank you very much.

Sounds straightforward enough - can you attach a file so we can assist?

Hi Matt, sorry for my late reply.

Please find the Rhino and Grasshopper files attached.

Space Truss (Forum).3dm (120.6 KB) Space Truss Grasshopper (Forum).gh (10.2 KB)

Hi Matt, sorry for my late reply.

Please find the Rhino and Grasshopper files attached.

Space Truss (Forum).3dm (120.6 KB)

Space Truss Grasshopper (Forum).gh (10.2 KB)

Simple enough.

Space Truss Grasshopper (Forum) MBH.gh (19.2 KB)

Thank you very much.

Alvin