Quick sort constructor change.