Your MFSORT and DFSORT control cards run on GnuCOBOL without rewriting: SuperTri replaces mfsort in your scripts and DFSORT in your sort steps.
Same output files, same SYSOUT report as MFJSORT: your operations tools keep working.
An open source utility, under the GNU GPL licence, derived from GCSORT: no proprietary component, no production licence.
Only available with the SuperBOL Subscription
Compared with GCSORT 01.06.01, the community version from which it derives (as of 19/11/2026).
Verified MFSORT compatibility
596 cases run by MFSORT and compared byte by byte; in strict mode, 539 cases give exactly the same result, and the other differences are listed.
Several dialects, a single program
It behaves like GCSORT (by default, with DFSORT semantics), like MFSORT (mfsort command), like MFSORT in strict mode, or like DFSORT.
GnuCOBOL 3 and 4
GCSORT 01.06.01 only supports GnuCOBOL 3.
More than 130 bugs fixed
Crashes, wrong results, data loss: found by compatibility tests, fuzzing (AFL++ and differential against MFSORT), static analysis and sanitizers.
More than 1,500 automated tests
With continuous integration on GnuCOBOL 3.2 and 4.
3 to 25 times faster
Ready to install
Source archive, Debian and RPM packages, man page.
MFSORT jobs. One mfsort command: your scripts run as they are (nested USE, GIVE, TAKE, dd_NAME variables, OUTFIL reports). A strict mode rejects what MFSORT rejects.
DFSORT steps. SORT, MERGE, COPY, INCLUDE/OMIT, INREC/OUTREC, OUTFIL, SUM, FINDREP, JOINKEYS, SYMNAMES, ALTSEQ, E15/E35 exits in COBOL or in C.
Formats. CH, ZD, PD, BI, FI, FL, UFF/SFF fields, Y2 dates; EBCDIC collating sequences and signs; GnuCOBOL sequential, relative and indexed files, Micro Focus formats for variable-length sequential files.
Integrated with GnuCOBOL. GnuCOBOL 3 and 4, COBOL SORT verb, C library; several threads for large jobs.
Checked on about 600 jobs whose results were recorded with MFSORT, and on more than 1,500 automated tests.
Run time in seconds, on 5 million records: the smallest is the best, in bold on each row.
| Job | MFSORT | GCSORT 01.06.01 | SuperTri | |
|---|---|---|---|---|
| Sort, 1 character key (CH) | 2.65 s | 9.82 s | 1.58 s | (6× faster than GCSORT) |
| Sort, 3 keys (CH + PD desc. + BI) | 4.60 s | 11.00 s | 3.01 s | (3.7× faster than GCSORT) |
| Sort, 1 packed key (PD) | 4.10 s | 10.14 s | 2.15 s | (4.7× faster than GCSORT) |
| Sort, 1 zoned key (ZD) | 2.02 s | 10.64 s | 2.30 s | (4.6× faster than GCSORT) |
| Filtering + reformatting (INCLUDE + OUTREC) | 1.51 s | 9.54 s | 0.89 s | (10.7× faster than GCSORT) |
| Sort + totalling (SUM) | 2.79 s | 11.04 s | 2.73 s | (4× faster than GCSORT) |
| Sort of a text file (LS) | 3.36 s | 8.68 s | 2.58 s | (3.4× faster than GCSORT) |
| Copy of a text file (LS) | 2.03 s | 10.12 s | 1.35 s | (7.5× faster than GCSORT) |
| Merge of 4 files (MERGE) | 0.61 s | 3.89 s | 0.56 s | (6.9× faster than GCSORT) |
| Copy (COPY) | 0.38 s | 12.04 s | 0.49 s | (25× faster than GCSORT) |
Measurements of 18/11/2026, on 5 million 60-byte records. Linux, Intel Core i7-1260P, 3 cores, files in cache, median of 5 runs. SuperTri 1.0.0; GCSORT 01.06.01 (upstream version from gnucobol-contrib), same libcob and same compilation options; MFSORT from Rocket Visual COBOL 11. SuperTri sorts in memory: about 500 MB for 5 million records, compared with about 12 MB for MFSORT.
YesPartlyNo— Not applicable
| Feature | DFSORT | MFSORT | GCSORT 01.06.01 | SuperTri |
|---|---|---|---|---|
| SORT, MERGE, COPY, SKIPREC, STOPAFT, EQUALS | Yes | Yes | Yes | Yes |
| INCLUDE / OMIT (conditions, bit tests, dates) | Yes | Yes | Partlyno bit tests | Yes |
| INREC / OUTREC (BUILD, OVERLAY, conversions, edit masks) | Yes | Yes | Partlyno conversions, masks or SEQNUM | Yes |
| SUM (ZD, PD, BI, FI, FL) | Yes | Yes | Yes | Yes |
| OUTFIL with reports (HEADER, TRAILER, SECTIONS, totals) | Yes | Yes | NoNODETAIL only | Yes |
| OUTFIL FNAMES=, SPLIT, SPLITBY | Yes | Partly | Yes | Yes |
| JOINKEYS / JOIN / REFORMAT | Yes | No | Yes | Yes |
| FINDREP | Yes | No | Yes | Yes |
| XSUM | Yes | No | Yes | Yes |
| SYMNAMES, ALTSEQ | Yes | Partly | Partlyno ALTSEQ | Yes |
| IFTHEN, PARSE, JFY, SQZ | Yes | No | No | No (planned) |
| ICETOOL | Yes | No | No | No (planned) |
| CH, ZD, PD, BI, FI, FL, CSL/CST/CLO formats, Y2 dates | Yes | Partly | Yes | Yes |
| MFSORT syntax (USE/GIVE/TAKE, CHAR-EBCDIC…) | — | Yes | Partlyno CHAR-EBCDIC or SIGN-EBCDIC | Yes |
| E15/E35 exits, sort called from COBOL | Yes | Yes | Yes | Yes |
| Indexed files of all GnuCOBOL file handlers | — | — | Partlyone handler per job | Yes |
| Verified MFSORT compatibility (596 cases compared byte by byte) | — | — | No | Yes |
| Choice of dialects: MFSORT, strict MFSORT or DFSORT | — | — | No | Yes |
| GnuCOBOL 4 | — | — | NoGnuCOBOL 3 only | Yes |
| Debian and RPM packages, man page | — | — | No | Yes |
| Linux | — | Yes | Yes | Yes |
| Windows | — | Yes | PartlyVisual Studio project, not tested | MinGW build only |
| z/OS | Yes | — | — | — |
| Licence | Proprietary (IBM) | Proprietary (Rocket) | GPL v3, free | GPL v3, free |
SuperTri and MFSORT: tested on the mfsort command. GCSORT 01.06.01: from its sources (a recognised statement is not necessarily processed correctly: SuperTri has fixed more than 130 bugs). DFSORT: from the IBM documentation. MFSORT on Windows: from its documentation, not tested.
From proof of concept to industrial-scale production deployment, get support from one of the main contributors to GnuCOBOL.