quick sort without sentinels