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