Buckle with list

Hi all,

i’m trying to do a buckle but I can’t. :frowning:
Or maybe there are other way to do that more easy.

i have created and I want sort it twice.
It is better if you see the image.
Thanks if somebody knows how to do that.

Hi,

I saw an answer from Jostein Olsen and I copied some “node”.

It is working properly but I don’t understand this function.
SortbyFunction(lst<0><3>,fcn);
Because if I change the second item <3> by <1> is working good as well.
SortbyFunction(lst<0><1>,fcn);

Please somebody can tell me how is working this function?
Thanks Jostein.

Sorry, it is not working.
I tried with a long list of list and it is not working at all. :frowning:

Anybody knows?

Thanks