in reply to How do I sort a Hash of Hashes?
You have to rewrite the sort to fit the category you want to sort for:
sort { $products{$a}->{"name"} <=> $products{$b}->{"name"} } [download]
code is NOT tested
/oliver/