A variant of quickSort algorithm (not working)