in reply to Merge hash keys

Interesting homework question. Hint: sort on values.

The answer to the question "Can we do this?" is always an emphatic "Yes!" Just give me enough time and money.