cobol SORT statement


Remarks

The COBOL SORT statement can be used to sort files and tables in working storage.

SORT file

SORT file syntax diagram

SORT table

enter image description here