sort tree before save mind map and when add child, add parent
reorder tree id when save mind map