Fix so the list is sorted.