Mixed fast sort and mixed merge sort algorithms. std::stable_sort added to comparison.