in reply to How do I sort a hash by its values?

you can read about this in perlman:perlfaq4. additionally, you can search here for 'sort hash values' or something similar. a little legwork goes a long way.

~Particle

  • Comment on Re: How do I sort a hash by its values?

Replies are listed 'Best First'.
Re: Answer: How do I sort a hash by its values?
by George_Sherston (Vicar) on Jan 13, 2002 at 02:52 UTC
    Yeah, actually I did do the leg work and I did find out a bit about it... but the first place I looked was Q&A and it wasn't there. And I thought this was a subject that comes up quite often and wd be worth representing here. Your unhelpful (but easy) answer "a little legwork goes a long way" is an answer to *any* categorised question, no?

    § George Sherston