Sort alarms at runtime
- Last UpdatedOct 09, 2024
- 2 minute read
The AlarmApp supports alarm sorting for up to three columns at design time and run time. At run time, operators can configure sorting of even more columns by clicking on the column headers of the Alarm ControlAlarmApp. You can sort alarms in ascending or descending direction for selected columns.
You can sort alarms at run time in similar way as design time. Any changes you make to the sorting at run time are lost when you switch back to design time.
Note: If you are sorting by the Value column, the items in the column are sorted alphabetically, not numerically. This is because the Value column can contain strings.
To set sorting columns and directions with lists at run time
-
Right-click the AlarmApp grid and click Sort. The Sort dialog box appears.

-
Optionally, select the second sort column in the Second Sort Criteria list and a sorting direction in the list to its right.
-
If you set the Second Sort Criteria, optionally select the third sort column in the Third Sort Criteria list and a sorting direction in the list to its right.
-
Click OK.
To set sorting columns and directions in the grid at run time
-
In the AlarmApp grid, click on a column header to set sorting for the column. An arrow appears on the column header.
-
To change the sorting direction, click on the column header again. The arrow changes direction on the header.
Note: If you click on a column header after releasing the Shift key, all sorting information is lost and the selected column is the new primary sorting criteria.
-
To set sorting for second and third columns, repeat step 3 while pressing the Shift key.
-
Release the Shift key.