> Been trying to sort a 2 dimensional array and am having trouble. The fisrt
> element is numeric, the 2nd is text. I'm trying to sort in
> numeric order on the 1st item and can't get it to work.

OK, please tell me you're not using ArraySort() - this only sorts one
dimensional arrays

You'd have to write a sort routine to re-build your array - many types of
sorting out there, so you have to choose the one you understand and can
re-write if it doesn't do exactly what you want (which is why most people
stick to Bubble sorts)

The simplest way to do it without much code is to put the output into a
database and let it sort it, but this demands database access and means
temporary tables...

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to