Expand my Community achievements bar.

how to order an array alphabetically

Avatar

Level 1
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
1 Reply

Avatar

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