nworbetan
Member
It's really funny that
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
Code:
foreach x, y, z in test print_html(x + " " + y + " " + z);
Now that y'all have helped beat more sensible ideas into my thick skull though, I like this:
Code:
sort booze_map by -value.d;
foreach x in booze_map print_html("It's been " + booze_map[x].d + " day" + (booze_map[x].d == 1 ? "" : "s") + " since your last " + booze_map[x].b);
Last edited: