reordering to the alert happens first