GnuCOBOL

Another more advanced  GnuCOBOL program that uses the COBOL SORT. Pretty nice COBOL!
Sort was so fast on my first test of 5000 records, that I reran on 50,000 records. Still literally ran in the blink of an eye. So I timed it.

bill@billb-MS-7B79 ~/Mystuff/COBOL/progs $ time ./sort01 [GnuCOBOL program]
real    0m0.107s
user    0m0.064s
sys     0m0.040s
bill@billb-MS-7B79 ~/Mystuff/COBOL/progs $
 

Input file (sample) looks like…
4016772724115827  4BFDestiny        Bryanna        Hamende             1984-10-118941 E 61 Dr             East Berlin         PA17316
4866213809365608  4CFAlicia         Kendal         Chabala             2000-04-229268 W 91 Way            Minonk              IL61760
4447208205483581  2DMBrayden        Zayne          Muhammad            1991-09-26231 S 75 St              Sulphur             LA70664
4831920901606091  5EMNicholas       Tony           Hochevar            1972-05-197275 NW 179 Av           Pacolet             SC29372
4866500665561571  1HFAshlyn         Cynthia        Mccaughan           1969-05-306799 N 171 St            Questa              NM87556

Sorted (last name, first name) output file (sample) looks like…
Aaberg              Kyler                         1926-11-13
Aagaard             Jalen                         2000-06-21
Aagesen             Keaton                        1951-10-08
Aakhus              Alejandro                     1944-01-11
Aalbers             Julius                        1954-04-20