I'm willing to pay money for someone to write {}.sortedkeys() and/or sets.Set().sorteditems() (since IANACH (I am not a C hacker)). I'm just *really* tired of writing what should be a one-liner in three lines: