cpp_insert_sort