Use priority values for event registering