You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is no information on usable parameters. When digging deeper, it becomes clear the function sortBy()-is an alias, and its page contains that the function takes "mixed" arguments.
Based on this documentation, usage of this function is unclear. Should I pass a string, similar to the sorting options in blueprints? Should I pass an array of options—but what options?
Expected
A table giving information about the arguments the function expects, what they mean, and an example of its use.
Screenshots
Table of Parameters on alias function:
This table, unfortunately, is also useless.
The text was updated successfully, but these errors were encountered:
stairjoke
changed the title
Usage unclear
Accepted parameters for function not documented
Feb 24, 2025
Uh oh!
There was an error while loading. Please reload this page.
Issue with Reference
The page https://getkirby.com/docs/reference/objects/toolkit/collection/sort states:
But there is no information on usable parameters. When digging deeper, it becomes clear the function
sortBy()
-is an alias, and its page contains that the function takes "mixed" arguments.Based on this documentation, usage of this function is unclear. Should I pass a string, similar to the sorting options in blueprints? Should I pass an array of options—but what options?
Expected
A table giving information about the arguments the function expects, what they mean, and an example of its use.
Screenshots

Table of Parameters on alias function:
This table, unfortunately, is also useless.
The text was updated successfully, but these errors were encountered: