menu 8 Menu Overview $files->sort() Sorts the elements by any number of fields $files->sort(): Kirby\Toolkit\Collection Return type Kirby\Toolkit\Collection Inherited from Kirby\Toolkit\Collection Source code kirby/src/Toolkit/Collection.php#L977