in reply to Re: Re: Re: Answer: How do I order a hash for use as a %label list in cgi.pm?
in thread How do I order a hash for use as a %label list in cgi.pm?

Sort the keys by comparing the values: my @values = sort { $labels{$a} cmp $labels{$b} } keys %labels;
  • Comment on Re: Re: Re: Re: Answer: How do I order a hash for use as a %label list in cgi.pm?
  • Download Code