Or you can use this quicksort on the cflib http://www.cflib.org/udf.cfm?ID=518
But the query way is probably easier. Mark On 8/18/05, Kevin Smith <[EMAIL PROTECTED]> wrote: > Hi Steve, > > That's what I was planning on doing. Wanted to make sure there is no > alternative. > > Thanks > > Steve Onnis wrote: > > >Put it into a query > > > >I still dont know why people still persist in making these complex > >structures and try to sort them > > > >Make each array a row in a query. Then your struct keys are column names > >with values in each cell. Then all you need to do is use query of query to > >sort, filter or extract information from it. > > > >Steve > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] Behalf Of Kevin > >Smith > >Sent: Wednesday, August 17, 2005 3:33 PM > >To: CFAussie Mailing List > >Subject: [cfaussie] Array Sort Question > > > > > >Hi All, > > > >Am having a mental block today maybe you guys can point me in the right > >direction. I have an array of structs and I want to sort the array > >according to a key (sortOrder). Does it make sense? > > > >Array[1]: > > Struct: > > Name: xxxx > > sortOrder: 4 > > > >Array[2]: > > Struct: > > Name: yyyy > > sortOrder: 3 > > > >Thanks in advance. > > > > > >--- > >You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > >To unsubscribe send a blank email to > >[EMAIL PROTECTED] > >Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ICQ: 3094740 --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
