$fieldsets->sort()
Sorts the elements by any number of fields
$fieldsets->sort(): Kirby\Cms\Fieldsets
Return type
This method does not modify the existing $fieldsets object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection