SortMethod class, insertion sort implemented