A new quicksort in C++ implemented, partitioning implemented using atomic swap so in-place sorting is achieved.