Sort list of lists containing lines as per length

I have a list of lists that has pairs of lines. How can I sort them as per the line lengths (sort each sublist)? Is there any node to sort lines as per their lengths?

You’ll have to get the line lengths first, then you can use SortByKey.

3 Likes

Based on @Nick_Boyts comment, just be careful with levels for sorting

1 Like