Added list sorting