simplify insert sort