performing insertion sort