Fixed qSort (quickSort) function.