Fix argument names and order
Rewritten insertion_sort