Sorting of species xml document via tree structure (Data Structures - University of Florida)