-
Notifications
You must be signed in to change notification settings - Fork 1
Extension org.gramar.base Function sort
chrisgerken edited this page Sep 14, 2015
·
2 revisions
The sort() function sorts and returns the given collection using the key XPath expression to calculate a sort key for each node in the collection.
- nodes collection - (required) an XPath expression that resolves to a collection of nodes
- string key - (required) a string containing an XPath expression that resolves to a key value for a given node
- string options - contains some combination of "asc", "desc", "string" and "number". Defaults to "string asc"
Place a ...
Return to org.gramar.base