Sorting lists

hexMetTB.gh (167.1 KB)

Hello everyone,
I’m trying to sort the list of curves to make diagonal surfaces to connect to the horizontal ones (as in the reference model)
Please help