pub fn cmp(a: &TypeStateKey, b: &TypeStateKey) -> OrderingExpand description
Compares state keys in ascending event-type and state-key order.
Event type is the primary key and the state-key string breaks ties. The
ordering matches the natural tuple order of TypeStateKey.