Skip to content

Kirby 4.1.2

$users->sort()

Sorts the elements by any number of fields

$users->sort(): Kirby\Cms\Users

Return type

Kirby\Cms\Users

This method does not modify the existing $users object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Users inherited from Kirby\Toolkit\Collection