updated list sorting