Fixed sort issue with nodesWithAnimationManagers.