Sorted-range algorithms require that the source ranges have the elements sorted according to their
sorting criterion. These algorithms may have significantly better performance than similar algorithms
for unsorted ranges (usually logarithmic instead of linear complexity). You can use these
algorithms with iterators that are not random-access iterators. However, in this case, the algorithms