fabius has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to sort an array (actually it's a table),
I mean something like that:
$events [][][][] its a matrix n x 4, and I want to sort it by third column i.e.,
I tried with Sort_Table() but it doesn't seem working.
$events [][][][] its a matrix n x 4, and I want to sort it by third column i.e.,
I tried with Sort_Table() but it doesn't seem working.
Does anybody know how can I do that?????@events = Sort_Table( cols => '4', field => '3', sorting => 'descending', structure => 'single', # I tried whith csv too #separator => '\*', data => \@events, );<
Edit: BazB added code tags (again).
Back to
Seekers of Perl Wisdom