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.




  
______________________________________________________________________
Why Share?
  Dedicated Win 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=coldfusionc
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