# SORTINFO()

Syntax:

Then: XX=SORTINFO()

Returns the sort information for the currently running output format.

Then: XX=SORTINFO(filename,formatname[,sortlevel])

The return value is in the format for all possible choices: field,length,ascend/decend,[subtotal]: 5, 8,a,y:2, 15,a,y

Description:

SORTINFO() returns the sort information for the specified output. It also includes the subtotal break information.