Sort keys when no document repository is used If the documents are defined by a document trigger, you can use any variable defined in the Project, for example the document trigger variable, as sort key. Prerequisites Sorting must be enabled. See To enable document sorting and bundling. To define a sort key 1 Open the Runtime Output Connector Settings dialog box (generic layer). 2 Click the Job End icon and select the Document Sort tab. 3 Click . The Add Sort Key dialog box opens. 4 Configure the sort key: – Key – the variable to use as sort key. – Type – Numeric or String. Must correspond to the key variable value. – Sort order – Ascending or Descending. 5 Click OK.