Sorting nested tree:
- Removed start/stop sorting button. Moved btn-sort-tree url as the main jstree element attr.
- Created sortTreeAction which check "type of move" and update node:
1) If node is moved to the new parent, new parent is set and its moved down if necessary
2) If node is moved in the same root, node is moved up or down only.
3) Methods return JSON and accept only POST method.
- Created NodeRepository->setNewParent to handle moving node to the new parent.
Problems:
- Understend NestedTreeRepository methods and its logic.