Sorting out inserts.