Symfony\Component\Finder\Finder::sortByModifiedTime
Sorts files and directories by the last modified time.
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.
Signature
public function sortByModifiedTime()
Returns
- Finder
- The current Finder instance