sort(), sorted()

Section 3.5.5 demonstrates how to sort a list.