Sort ascending (XML)

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!