Store the Comparable ObjectIdentifier directly instead of wrapping the only sort key type in AnySortKey. The expected deterministic ordering of equal terminal command titles is also now verified by a unit test.