This allows setting event order.