src/Standards/BestIt/Sniffs/Formatting/AlphabeticallySortedUsesSniff.php
private function sortUseStatements(): void
    {
        uasort($this->useStatements, function (UseStatement $prevStatement, UseStatement $nextStatement) {
            return $this->compareUseStatements($prevStatement, $nextStatement);
        });
    }
private function sortUseStatements(): void
    {
        uasort($this->useStatements, function (UseStatement $prevStatement, UseStatement $nextStatement) {
            return $this->compareUseStatements($prevStatement, $nextStatement);
        });
    }
private function sortUseStatements ( ) : void { uasort ( $ this -> useStatements , function ( UseStatement $ prevStatement , UseStatement $ nextStatement ) { return $ this -> compareUseStatements ( $ prevStatement , $ nextStatement ) ; } ) ; }
Saves the use-property by the compare function.

@return void
Saves the use - property by the compare function .