Sort Variable Length Records

Input File 1 
Smith
Jones
Alexander
Alexander
Smith
James
Sort Control Cards
 RECORD TYPE=V,LENGTH=80
 SORT FIELDS=(1,CH,A)
 END
Output File
Alexander
Alexander
James
Jones
Smith
Smith
Back to Examples