<SORTMATCH> and </SORTMATCH>
The Sortmatch tag group identifies one or more inputs to sort or match by fields. Sorting reorders all documents across all inputs (commingling). Matching combines related documents so that barcoding, page counts, and so on take place as if the combined entities are a single document. Matching requires that the documents be sorted. You must define the fields used as sort or match criteria in Field tag groups. The Sortmatch tag group is optional, and each control file can contain one Sortmatch tag group.
Note: If you want to match documents based on one criteria and sort the output based on different criteria, you can use the <PRESORT> group within an Output.
Tag Group
Standalone
Syntax
<SORTMATCH>
<INPUTNAME> name [match printYN]
<SORT> fieldname [order]
</SORTMATCH>