protected function isSortingConfigured()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        return ! empty($this->json['config']) && ! empty($this->json['config']['sort-packages']);
    }