fix quickSort right pointer