>>> apple = [9, 8, 5, 1, 6] >>> sorted(apple) [1, 5, 6, 8, 9] >>> apple = [9, 8, 5, 1, 6] >>> apple.sort() >>> apple [1, 5, 6, 8, 9] >>> apple.sort(reverse=True) >>> apple [9, 8, 6, 5, 1]