in reply to sort hash ignoring one hash level

I'm finding it difficult to understand what data structures you are trying to create and subsequently access. I think it would help us to help you if you could provide a small sample of the data you are working with and a description of what you are trying to do with it. Perhaps you could use Data::Dumper to confirm that the data structures you create are what you expected.

Cheers,

JohnGG