bool ordering(const data &, const data &)
bool ordering(const data &, const data &)
The ≥ ordering leads to an descending-order sort.
If a is before b in C then O(a, b) is true.
bubble sort(T a[], n) for i = 0 to n - 2 for min = n - 1 to i + 1 if a[min - 1] > a[min] swap(a[min - 1], a[min])