I'm sorry, I think I worded this really badly. What I meant was that my ideas about how things should work are laughable. I actually found a couple more reasons why my misunderstanding of sort on a multi-key map was terrible too: a) in that "example" I used, the output of the foreach x, y, z...