fn enqueue_priority_event( order: &mut Vec<String>, groups: &mut HashMap<String, VecDeque<Value>>, event: Value, )