J
jeremy
Text
Why do we use the term non-descending instead of ascending in sorting algorithms?
A list is in sorted order when each value is no smaller than the one before it. People often say "ascending", but that word suggests every value is strictly larger than the last, which is wrong whene…