public function sortByNameDesc()
    {
        $this->sort(
            function (SplFileInfo $a, SplFileInfo $b) {
                return strcmp($b->getRealpath(), $a->getRealpath());
            }
        );
        return $this;
    }
public function sortByNameDesc()
    {
        $this->sort(
            function (SplFileInfo $a, SplFileInfo $b) {
                return strcmp($b->getRealpath(), $a->getRealpath());
            }
        );
        return $this;
    }
public function sortByNameDesc ( ) { $ this -> sort ( function ( SplFileInfo $ a , SplFileInfo $ b ) { return strcmp ( $ b -> getRealpath ( ) , $ a -> getRealpath ( ) ) ; } ) ; return $ this ; }
Sorts files and directories by name DESC.

This can be slow as all the matching files and directories must
be retrieved for comparison.

@return Finder The current Finder instance

@see SortableIterator

@api
Sorts files and directories by name DESC .