public function sortByModifiedTimeDesc()
    {
        $this->sort(
            function (SplFileInfo $a, SplFileInfo $b) {
                return ($b->getMTime() - $a->getMTime());
            }
        );
        return $this;
    }
public function sortByModifiedTimeDesc()
    {
        $this->sort(
            function (SplFileInfo $a, SplFileInfo $b) {
                return ($b->getMTime() - $a->getMTime());
            }
        );
        return $this;
    }
public function sortByModifiedTimeDesc ( ) { $ this -> sort ( function ( SplFileInfo $ a , SplFileInfo $ b ) { return ( $ b -> getMTime ( ) - $ a -> getMTime ( ) ) ; } ) ; return $ this ; }
Sorts files and directories by the last modified time Desc.

This is the last time the actual contents of the file were
last modified.

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 the last modified time Desc .