Template Function ADS::sortStack

Function Documentation

template<Stack S>
void ADS::sortStack(S &s)

sorts s with the least item on top

Post:

s is sorted, the least on top, with the same items (an audit)