Sort a list of curves by its start points z-point

I have a list of curves and want to sort this by its starting points z-level. How do I accomplish this?

List.Sort by key where the list is the curves and the list keys are the Z values.

Get the Z values by using Curve.StartPoint and Point.Z.

Ah, that works fine. Now next step is to do this with a list of lists. As seen in the example below.

Set the list level to @L2 for the list and key input of the SortByKey node.

Don’t forget to mark solutions! :wink:

1 Like