alphabeticaly sort and remove duplicates from a list in python code example Example: sort and remove duplicates list python myList = sorted(set(myList))