Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

arraysort multi dimensional array

Status
Not open for further replies.

TechDude

Programmer
Jul 20, 2000
62
US
Hi all,
does anyone know if you can sort a multi dimensional array using arraysort()?
if so, what does it sort on?

Chris Sorel
chris@exnihilo.com
Remember, If you continue to do what you have always done,

you will continue to get what you have always gotten.
 
I don't believe the native CF array functions work on multi-dimensional arrays but I believe there are a number of custom tags that have been written to get around this shortcoming. I would check the Allaire tag gallery as I suspect you'll find a number of tags that will work.

Good luck,
GJ
 

I have found that the best way of learning is by working out the logic yourself and creating a sort routine on paper. That is how I learned about arrays. Custom tags are nice but I think, for myself anyway... I prefer to create an algorithm to get the work done. Once I'm comfortable with it and have been doing it numerous times, then I'll use custom tags.

Its just me :) ...

L
 
that's well and good until you have a multi-thousand dollar client and an extremely short deadline....

Chris Sorel
chris@exnihilo.com
Remember, If you continue to do what you have always done,

you will continue to get what you have always gotten.
 
Are you still having problems or did you find a way around it?

GJ
 
I figured it out...
there were a number of tags at allaire
thanks for your suggestion,


Chris Sorel
chris@exnihilo.com
Remember, If you continue to do what you have always done,

you will continue to get what you have always gotten.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top