Filter alarms after changing the sorting type