We have different documents these documents should be sorted in order and to be merged as single document.
For ex:
I have 4 merge documents which are not in sorted order, we have to arrange them in sorted order and merge all 4 documents to single document.