[LC] Added solution to sort list.