Skip to content


Change the position of the page in its siblings collection. Siblings will be resorted. If the page status isn't yet listed, it will be changed to it.

$page->changeSort(int $position = null): Kirby\Cms\Page


Name Type Default
$position int null

Return type


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

Parent class