Sort according to RFC 8949, section 4.2.3 (https://www.rfc-editor.org/rfc/rfc8949.html#name-length-first-map-key-orderi).
First item.
Second item.
Negative for a < b, Positive for b > a, 0 if equal.
Sort according to RFC 8949, section 4.2.3 (https://www.rfc-editor.org/rfc/rfc8949.html#name-length-first-map-key-orderi).