Comparison

Median of three pivot

Middle point pivot