RE: [SPAM] [flexcoders] XMLList question

2009-12-11 Thread Russ Ferguson
Sent from my Windows MobileĀ® phone. -Original Message- From: Tracy Spratt tr...@nts3rd.com Sent: Thursday, December 10, 2009 11:45 PM To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: RE: [SPAM] [flexcoders] XMLList question I don't believe you can sort an xmllist

Re: [SPAM] [flexcoders] XMLList question

2009-12-11 Thread invertedspear
I forgot I asked that question here too. I actually turned up a pretty simple function some dude developed to sort XML at http://freerpad.blogspot.com/2007/07/more-hierarchical-sorting-e4x-xml-for.html I then modified it a bit to do what I need and posted it here

RE: [SPAM] [flexcoders] XMLList question

2009-12-10 Thread Tracy Spratt
I don't believe you can sort an xmllist directly. I use a function that takes the children of a node (XMLList), wraps it in an XMLListCollection, sorts it, then uses setChildren() to re-assign the sorted children to the parent. I think I have posted that here actually. Tracy Spratt, Lariat