SORT Statement

Sorts the elements of a table.

sort-statement

Note: Other formats of this statement are available. See Statements in the COBOL Language Reference.