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.