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