Skip to content

Kirby 3.9.8

$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