The tag I got from the exchange does what I need it to:

IE

[1][145]
[1][Kevin Schmidt]

[2][97]
[2][Kevin Schmidt]

[3][64]
[3][Kevin Schmidt]

[4][85]
[4][Kevin Schmidt]

I needed main array sorted by the first element of each of the other
arrays so this example would end up like this:

[1][145]
[1][Kevin Schmidt]

[2][97]
[2][Kevin Schmidt]

[3][85]
[3][Kevin Schmidt]

[4][64]
[4][Kevin Schmidt]


-----Original Message-----
From: Jeff Brown [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 24, 2002 2:28 PM
To: CF-Talk
Subject: RE: Sorting a 2 dimensionl array

a 2 dimensional array is a 1 dimensional array in another 1 dimensional
array.  maybe i'm not sure what you're trying to accomplish...

-Jeff

-----Original Message-----
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 3:05 PM
To: CF-Talk
Subject: RE: Sorting a 2 dimensionl array


That only does 1 dimensional arrays :)


-----Original Message-----
From: Jeff Brown [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 24, 2002 2:01 PM
To: CF-Talk
Subject: RE: Sorting a 2 dimensionl array

check out ArraySort() in the CF Docs...

v/r,
Jeff

-----Original Message-----
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 2:58 PM
To: CF-Talk
Subject: Sorting a 2 dimensionl array


Anyone have a ideas on how to sort a two dimentional array by one of the
elements (numerically)?

 

 

Kevin Schmidt

Two Rivers Marketing Group

502 E. Locust, Des Moines, IA 50309

Phone: 515.557.2028

Mobile: 515.865.3526

Fax: 515.557.2001

[EMAIL PROTECTED]

 

 

 






______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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