list sort working