Template Function ADS::tournamentSort

Function Documentation

template<class T, class C = std::less<>>
void ADS::tournamentSort(std::vector<T> &A, C less = C())

the tournament sort

Post:

A is sorted, with the same items (an audit)