A variation of insertion sort added