alerts: fixed flash messages priority sort