$files->sorted()
Returns the collection sorted by the sort number and the filename
$files->sorted(): Kirby\Cms\Files
Return type
This method does not modify the existing $files
object but returns a new object with the changes applied. Learn more →