Redirection/ProviderRegistry.php
public function getProviders()
    {
        if (!$this->initialized) {
            usort($this->providers, function (ProviderInterface $a, ProviderInterface $b) {
                if ($a->getPriority() == $b->getPriority()) {
                    return 0;
                }
                return $a->getPriority() > $b->getPriority() ? 1 : -1;
            });
            $this->initialized = true;
        }
        return $this->providers;
    }
public function getProviders()
    {
        if (!$this->initialized) {
            usort($this->providers, function (ProviderInterface $a, ProviderInterface $b) {
                if ($a->getPriority() == $b->getPriority()) {
                    return 0;
                }
                return $a->getPriority() > $b->getPriority() ? 1 : -1;
            });
            $this->initialized = true;
        }
        return $this->providers;
    }
{@inheritdoc}