This COBOL system provides the following methods of sorting and merging files:

Sorting Method Description
The COBOL Sort module The default module that executes a SORT (or MERGE) operation in your COBOL programs. Invoke it using the SORT statement, or use the CALL statement to invoke the SORT API directly.
MFSORT utility A utility that you can invoke from the command line, which enables you to sort and merge data files.