Highlighted

how to order an array alphabetically

Avatar

Avatar

dragonair1-Y597

Avatar

dragonair1-Y597

dragonair1-Y597

20-07-2008

here is my sample code



<HTTPService id="srv" url="myxmlsource.php" method="POST"
useProxy="false" resultFormat="e4x"/>





<XMLListCollection id="xc"

source="{srv.lastResult.image.url}"/>





<local:DisplayShelf id="shelf" horizontalCenter="0"
verticalCenter="0"

borderThickness="5" borderColor="#FFFFFF"
dataProvider="{xc}" enableHistory="false" width="100%"/>



now my array is in xc (this application is part of a image
viewer but I need the images in order)



how can I accomplish this please be very specific as I can't
claim to be very good with flex

Replies

Highlighted

Avatar

Avatar

Michael_Borbor

Avatar

Michael_Borbor

Michael_Borbor

06-08-2008

I Think you could do the sorting stuff in the server, if you
don't want to do it in Flex.