The sort() and insert() functions.