Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

how to order an array alphabetically

dragonair1-Y597
Level 1
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
Michael_Borbor
Level 3
Level 3
I Think you could do the sorting stuff in the server, if you
don't want to do it in Flex.