I jimmy rigged some code to sort the arrays by size
and keep the text arrays that relate the the number
arrays in the same order.
By combining the number and text arrays. Then using
the sort on the the number array and reverse function,
so the highest is first.
Then I search for the number from
Patricia Hinman wrote:
>
> Does anyone know of a routine that will sort arrays by
> size. I need to sort any number of given arrays, and
> operate on the largest to the smallest.
>
> I've just recently learned of the
> @nums = sort{$a<=>$b} @numbers;
>
MAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> Does anyone know of a routine that will sort arrays by
> >> size. I need to sort any number of given arrays, and
> >> operate on the largest to the smallest.
> >>
> >> I've just recently learn
On Monday, July 8, 2002, at 12:46 AM, Todd Wade wrote:
>
> "Patricia Hinman" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Does anyone know of a routine that will sort arrays by
>> size. I need to sort any
TECTED]...
> Does anyone know of a routine that will sort arrays by
> size. I need to sort any number of given arrays, and
> operate on the largest to the smallest.
>
> I've just recently learned of the
> @nums = sort{$a<=>$b} @numbers;
>
> hope the answer for arr
"Patricia Hinman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know of a routine that will sort arrays by
> size. I need to sort any number of given arrays, and
> operate on the largest to the smallest.
>
Does anyone know of a routine that will sort arrays by
size. I need to sort any number of given arrays, and
operate on the largest to the smallest.
I've just recently learned of the
@nums = sort{$a<=>$b} @numbers;
hope the answer for arrays is as simple.
Thanks Tricia
[EMAI