$('#myList').sortableLists( options );
You can sort an items of html lists by mouse. Create tree structures. Format css of all active items however you want. You can define the isAllowed callback which determines if dragged item can be inserted into another. Set the insert zone like a distance which determines if item will be inserted inside or outside of the active area, speed of autoscroll. Available is onDragStart and complete callback.
Sortable lists also contains export functions toArray, toHierarchy, toString.
For more info look at the documentation.