2011/7/1 Robert Klemme <shortcutter / googlemail.com>:
> array.sort_by {|e| [e.a, e.b]}
Note that entries must be ordered by smaller :a and, in case of same
:a, by higher :b. So the last "e.b" should be changed to something
else. Trying it right now.
Thanks a lot.
--
Iñaki Baz Castillo
<ibc / aliax.net>