RE: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Matt Liotta
> However, that is technically not ordering the structure; merely > processing elements inside the structure in a specific order. By there > very nature structures are unordered. In most cases, I doubt it makes a > difference. > Nor should a structure be ordered. In CFMX, a structure is a hash

RE: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Matthew Walker
essage- > From: Jeffry Houser [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 4:47 PM > To: CF-Talk > Subject: Re: Anybody have a UDF that will sort a structure on it's > values? > > > Do you mean that the values of the structure are integers, >

RE: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Matt Liotta
ra Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -Original Message- > From: Jon Block [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 4:45 PM > To: CF-Talk > Subject: RE: Anybody have a UDF that will sort a structure on it's values? > > Exactly - I need

RE: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Jon Block
plify my life. Given all the things I'm trying to do in this page load, this will be the best way to go for me. Thanks, Jon -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 4:47 PM To: CF-Talk Subject: Re: Anybody have a UDF that w

Re: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Jeffry Houser
Do you mean that the values of the structure are integers, or the keys of the structure are integers? If the latter, then StructSort, as someone else had mentioned, would probably do it. It will return an array. Then you'll have to loop over the array, sending the current array value as th

RE: Anybody have a UDF that will sort a structure on it's values?

2003-01-06 Thread Matthew Walker
Have you looked at structSort()? > -Original Message- > From: Jon Block [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 7 January 2003 10:27 a.m. > To: CF-Talk > Subject: Anybody have a UDF that will sort a structure on it's values? > > > I want to loop over a structure that I have but in a