A list can be sorted and deduplicated using built-in functions:
myList = sorted(set(myList))
setis a built-in function for Python >= 2.3sortedis a built-in function for Python >= 2.4
A list can be sorted and deduplicated using built-in functions:
myList = sorted(set(myList))
set is a built-in function for Python >= 2.3sorted is a built-in function for Python >= 2.4