I present to you, the most subtly heinous #TypeScript I've had to write this week.
It's just an object deep sorter, used when saving JSON files, so we always get deterministic output.
Except ... it's more tricky than just using `localeCompare` because modern versions of node will ignore key insertion order and return keys in number-sorted order if the keys are all number-like.
Cue: "Thanks, I hate it" or "This is why we can't have nice things".