Title: RE: Sorting question
Erich Beyrent
wrote, on Wed 12/1/2004 11:39: > : I have the following data structure:: >
:: > : $hash{$connid} = {"month" => $month,: >
:
"day" => $day,: >
:
"time&
: I have the following data structure:
:
: $hash{$connid} = {"month" => $month,
: "day" => $day,
: "time"=> $time,
: "user"=> $user,
: "host"=> $host,
: "from_ip" => $from_ip,
:
Title: Sorting question
Apologies to the list if this isn't plain
text; my corp just switched to Exchange, and I can't force plain
text!
Erich Beyrent wrote, on Tue 11/30/2004
10:53: I have the following data structure:::
$hash{$connid} = {"month" => $month,:
"d
On Mon, 20 Nov 2000, Tim Cochran wrote:
> I have a array like this:
> @array = ( 54,65,ABC345,ABC684,45,ABC826,18,99,ABC430 )
>
> I would like to sort by numeric first (ascending), then the Alpha part
> (descending). In other words, I want the sorted results to look like this:
>
> @sorted = (
Tim Cochran wrote:
>
> I have a array like this:
> @array = ( 54,65,ABC345,ABC684,45,ABC826,18,99,ABC430 )
>
> I would like to sort by numeric first (ascending), then the Alpha part
> (descending). In other words, I want the sorted results to look like this:
>
> @sorted = (18,45,54,65,99,ABC8