Sorts all input documents and returns them to the pipeline in sorted order.

See usage.