$page->sort()
Deprecated in 3.5.0
Use Page::changeSort()
instead Parameters
Name | Type | Default |
---|---|---|
$position | null |
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
Example
No parameter
If the parameter $num
is not specified, the result of `$page->num() will be returned instead.