#3 : children attributes on root node
fix unit testing
add label attributes
#4 : safe sort items