summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/src/reference/types.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md
index 312ba7c0..427b1a79 100644
--- a/docs/src/reference/types.md
+++ b/docs/src/reference/types.md
@@ -657,6 +657,8 @@ Combine all items in the array into one.
### sorted()
Return a new array with the same items, but sorted.
+- key: function (named)
+ If given, applies this function to the elements in the array to determine the keys to sort by.
- returns: array
# Dictionary