-
-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Description
Issue with Reference
The page https://getkirby.com/docs/reference/objects/toolkit/collection/sort states:
Sorts the elements by any number of fields
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.
Metadata
Metadata
Assignees
Labels
No labels