fixes #386: update sort order on old parent when reparenting