protected function initDeployManager(Composer $composer, IOInterface $io)
{
$this->deployManager = new DeployManager($io);
$extra = $composer->getPackage()->getExtra();
$sortPriority = isset($extra['magento-deploy-sort-priority']) ? $extra['magento-deploy-sort-priority'] : array();
$this->deployManager->setSortPriority($sortPriority);
}