nodes 2-6 added
sort nodes