On Tue, Aug 21, 2012 at 3:11 PM, Shawn H Corey <shawnhco...@gmail.com>wrote:
> On Tue, 21 Aug 2012 15:05:33 -0500 > Chris Stinemetz <chrisstinem...@gmail.com> wrote: > > > I am trying to sort a hash of arrays ( example below: ) > > > > I would the sort to sort in ascending order the first index of the > > array then the second index of the array. > > What have you tried so far? Can we see the code? > > Yes you may. This is what I have tried so far: foreach my $cellNo ( keys %hash ) { print join( "\0", sort {$a<=>$b} @{ $hash{$cellNo} } ),"\n"; } Thank you in advance, chris