OK, nevermind, I think I found enough functionality to get me by.

An array of arrays is sortable (an array of hashes is not).

And, array.assoc provides a lookup of a specific "pair"

y = [['bbb','beta'], ['ggg','gamma'], ['aaa','alpha']]

puts y.assoc('ggg')  # will return ['ggg', 'gamma]

puts y.sort # actually works. Weeee.


-- gw


-- 
Posted via http://www.ruby-forum.com/.