my @sorted_ips = sort {$a->{COUNT} <=> $b->{COUNT}} @ip_address;