Finished insert sort.