There should be a custom tag available to sort multidimensional arrays!

can't remember the name though!

@llan

-----Original Message-----
From: Matt Kornguth [mailto:[EMAIL PROTECTED]]
Sent: 10. januar 2002 14:57
To: CF-Talk
Subject: Re: Sorting multi-dimensional arrays?


Tried that. Get the error message:

"The expression has requested a variable or an intermediate expression 
result as a simple value, however, the result cannot be converted to a 
simple value. Simple values are strings, numbers, boolean values, and 
date/
time values. Queries, arrays, and COM objects are examples of complex 
values. 
The most likely cause of the error is that you are trying to use a 
complex 
value as a simple one ..."


On 1/9/2002 4:38 PM, [EMAIL PROTECTED] wrote:
>What luck have you had with ArraySort(foo, text)?
>
>Michael Corrigan
>Programmer
>Endora Digital Solutions
>1900 S. Highland Avenue, Suite 200
>Lombard, IL 60148
>630/627-5200 x-136
>630/627-5255 Fax
>  ----- Original Message ----- 
>  From: Matt Kornguth 
>  To: CF-Talk 
>  Sent: Wednesday, January 09, 2002 3:33 PM
>  Subject: Sorting multi-dimensional arrays?
>
>
>  Is it possible to sort multi-dimensional arrays? I have a two 
>dimensional 
>  array and want to sort by the first "column".
>
>  Array name is "foo":
>  foo[1][1] = "b"
>  foo[1][2] = "1"
>  foo[2][1] = "a"
>  foo[2][2] = "2"
>
>  So in this case I want to sort the first "column" (alpha characters 
>"b 
>& a"
>   alphabetically).
>
>  Either it's not doable or I'm having MASSIVE brain freeze.
>
>  Thanks in advance.
>
>
>
>
>  
>

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to