private function sortProviders() { $this->serviceProviders = (new ServiceSorter())->sortProviders($this->serviceProviders); }