Ordering emergency messages and alert logs