Assure order is maintained for notifications from database.