summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/format-specifiers.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/format-specifiers.txt b/doc/format-specifiers.txt
index 7dca9db..8919d7a 100644
--- a/doc/format-specifiers.txt
+++ b/doc/format-specifiers.txt
@@ -621,3 +621,12 @@ And here's how an example expression evaluates for ''cn=group'':
%default("%{member}","jim") -> (uid=bob,uid=pete)
%default("%{membername}","bob") -> (jim)
%default("%{nosuchvalue}","bob") -> (bob)
+
+=== sort ===
+
+ sort(''EXPRESSION'')
+
+Evaluates ''EXPRESSION'', returning its values if any are produced, sorted by
+binary value. This is more useful for ensuring consistency than prettiness,
+as the sorting is not case-aware and doesn't recognize numbers.
+