tabQusort and partition