copy of quicksart