my @order = sort { $labels[$a] cmp $labels[$b] } 0 .. $#labels; @labels = @labels[@order]; @content = @content[@order]; @more_content = @more_content[@order];
In reply to Re^3: Transferring hash keys to array... Need help sorting
by Anonymous Monk
in thread Transferring hash keys to array... Need help sorting
by DARK SCIENTIST
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |