use children instead of childNodes
test for correct ordering when sibling properties are nested at different levels