# Sort ascending (XML)

**URL:** <https://forum.kirupa.com/t/sort-ascending-xml/73509>\
**Category:** Uncategorized\
**Created:** [December 17, 2004, 1:16am UTC](https://forum.kirupa.com/t/sort-ascending-xml/73509 "2004-12-17T01:16:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frg10](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Post date:** [December 17, 2004, 1:16am UTC](https://forum.kirupa.com/t/sort-ascending-xml/73509/1 "2004-12-17T01:16:04Z")

</div>

hi. i have imported xml values in my flash MX. however, i would like to sort them alphabetically. anyway, here is a sample of the xml:

\<1 empID=“adm1” firstName=“Fred” lastName=“Blogs” /\>  
\<2 empID=“qc1” firstName=“Wilma” lastName=“Blogs” /\>  
\<3 empID=“dev1” firstName=“Barney” lastName=“Blogs” /\>

and this is how i get from flash:

```
   **Name**
Fred Blogs

```

Wilma Blogs  
Barney Blogs

what i wanted to do is to have sorted(by name) when imported to flash. hope it make sense.

cheers!
