How do you sort a list of lists by the second column?

Okay, this works. Thanks.

I am trying to sort the list but for some reason it is not doing anything. Can you please have a look

Something is missing from the blocks.

Where is the Elements list being unpacked and repacked from YAML format for your bubble sort?

And you reload the Elements from TinyDB without ever having updated TinyDB with the results of your sorting attempts.

You need local variables.


Very simple and useful, thank you Ramon!