@ar = map{ {name => $_->{name}, test => $_->{test}} } sort{ $a->{sorter} <=> $b->{sorter} }@ar;