sort arrays by size

2002-07-08 Thread Patricia Hinman
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

Re: sort arrays by size

2002-07-07 Thread John W. Krahn
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; >

Re: sort arrays by size

2002-07-07 Thread Todd Wade
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

Re: sort arrays by size

2002-07-07 Thread bob ackerman
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

RE: sort arrays by size

2002-07-07 Thread Toby Stuart
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

Re: sort arrays by size

2002-07-07 Thread Todd Wade
"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. >

sort arrays by size

2002-07-07 Thread Patricia Hinman
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