Help for this page
my @sorted = sort { my @A = split ':', $a; ... $A[0] <=> $B[0]; } @table; print @sorted;