fixed ordering of children within tree