merge and quick sort