you already have text in the layernames, but as I understand you need sorting by the layername numbers, so you need them in clean formatting which is what I suggest.
so actually you have numbers now not text.
you can simply plug your brep list in A and sort it along…
@Michael34 You have the leading zero in your Layername, so you can directly just use “Sort Text” component. In the Values input the Breps, so they get sorted accordingly.
Here are the files, inside the .“GH” file are some more information at the Components.
(Dont use the “Asbuilt” Lines, they are only a example for the second list i have to have a overview of my data, they have the correct order. U can find the results in the Panels from Asbuilt)
But then i can only work with the text, the row Data = Curves, Breps are gone.
Would be great to have a way to order 2 lists of 25 Branches in the same way, with the text information inside one of the Lists.
Sorting happens BASED on text, values can be any kind of data.
You cannot graft to branches if you sort, as otherwise sorting happens per branch. …and each branch has only one object.