Skip to content

Kirby 3.8.4

$layoutcolumns->sort()

Sorts the elements by any number of fields

$layoutcolumns->sort(): Kirby\Cms\LayoutColumns

Return type

Kirby\Cms\LayoutColumns

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

Parent class

Kirby\Cms\LayoutColumns inherited from Kirby\Toolkit\Collection