Filtering on the lists for alphabetical order