yui/yui3 — pull request #990 by rgrove (2013-07-12 20:10:17+00:00)
Title: Tree.Sortable: Reindex children after sorting

This fixes a subtle bug that caused `Tree#indexOf()` and `Tree.Node#index()` to return incorrect indices if they had previously been used (thus creating a cached index) *and* the parent node was then re-sorted in a way that changed child indices.