yui/yui3 — pull request #554 by rgrove (2013-03-27 21:57:04+00:00)
Title: Add a Tree.Sortable extension.

Mix `Y.Tree.Sortable` into any `Y.Tree`-based class to make any node's children sortable, with customizable per-tree or per-node `sortComparator` functions and sort order, and efficient insertion-time sorting. Works a lot like ModelList's sorting, but with extra functionality that's only relevant to trees.

Includes tests and docs.