Sort alerts by the alarm date