Quick sort(unstable) in python, replaced by insertion sort on small sizes.