fix #3519: make list sorting permanent