add quick sort and quick3way sort