var treeSort:Sort = new Sort();
treeSort.fields = [new SortField("@id", true)];
dataSource_Tree.sort = treeSort;
Sometimes my XML comes back with color in front of id and
sometimes vice versa. But when I apply the sort, there is no
difference in the order of the attributes, nor has any changes been
made to the XMLListcollection. I have tried everything. Is there a
problem applying the sort to nested xml in e4x?