Adds InsertionSort refactoring.