@x = sort { delete $a->{sorter} <=> delete $b->{sorter} } @x