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