Edit Event Sort Definition dialog box In the Event Sort Definition dialog box, you specify sort keys for sorting the input before the output is generated. You can, for example, use a Document trigger variable to sort the input before the Documents are generated. If you add several sort keys, the sort keys will be applied in the order (top-down) they are added to the list. Setting Description Key A variable specified in the Message configuration (Event or script). Type Numeric or String. Specifies whether to sort in numeric or alphabetical order. Sort order The sort order. Specifies whether to sort in ascending or descending order. Add a new sort key to the list. Edit the selected sort key. Delete the selected sort key. Move up the selected sort key. Move down the selected sort key.