How to reorder grasshopper tree points

Hello, I am currently using grasshopper inside of Revit, but this is more specifically a grasshopper question. Basically I would like to reorder all of these numbers like the picture shows, sorry for the bad writing, was using a mouse. Then after I reorder I am going to flip the matrix and link all the points together using lines, and cull the last index to make lines for beams, this is less important, but I thought I would try to make sense of the process for anyone trying to follow along.

3. Attach minimal versions of all the relevant files

:man_facepalming:

1 Like

Looks like you need Trim tree

image

1 Like

Thanks so much! Worked like a charm!