On Wed, 2021-11-10 at 17:16 +1100, Steven D'Aprano wrote:
On Tue, Nov 09, 2021 at 10:01:35PM -0800, Christopher Barker wrote:
Maybe a stupid question:

What are use cases for sorted dicts?

I don’t think I’ve ever needed one.

Good question :-)

It could be handy for deterministic iteration of its values, for example to  allow serialized values to be easily compared, or to generate and verify a signatures. It's edge case material; I wouldn't think it's strong enough use case for inclusion in stdlib.