sort() method python list code example Example: python sort list vowels = ['e', 'a', 'u', 'o', 'i'] vowels.sort()