List ascending order

Hi, I want to reorganised the wall list in the ascending order. But the “list.sort” don’t start with the smallest id.

Thanks for reply

You want to sort them by element ID?

Get the element ID and then use a sort by key function with the wall list as your list and the element ID as your key.