Recursive list sorting

Hi all,
I want to make a recursive list out of a list as shown in the image below. Please suggest.

Very interesting problem!
Is this the result you are looking for?

Recursive List 2020-06-16.dyn (6.7 KB)


Thanks a lot, @Daan. This is exactly what I want.

1 Like