Hello,
Which COBOL are you using? There are several available for Win-based systems and *nix.
As far as i know, all of them support the SORT verb. In your COBOL documentation, look for the info about SORT. A SORT statement requires an SD (instead of an FD) and the statement starts like:
SORT SORT-FILE ON ASCENDING. . . .
I've used this on all of the main platforms in use today. While we are mostly a mainframe forum, we may be able to help with COBOL language specific questions. Platform specifics, maybe not as much,
If you are using MicroFocus COBOL, there are sites that host MicroFocus questions - i don't have any links as none of my clients is currently using COBOL on LUW systems.