Make a flexible user-defined order control for the tree structure, using jQuery and jQuery ui.