$myhash{$a}[1] <=> $myhash{$b}[1] || $myhash{$a}[0] <=> $myhash{$b}[0]
Dave.
In reply to Re^2: Choosing "best" - sorting hashes issue
by dave_the_m
in thread Choosing "best" - sorting hashes issue
by Ineffectual
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |