saxon:sort

Sorts a sequence of items.

sort($seq as item()*) ➔ item()*

Arguments

 

$seq

item()*

The sequence to be sorted

Result

item()*

sort($seq as item()*, $sort-key as function(item()) as xs:anyAtomicType) ➔ item()*

Arguments

 

$seq

item()*

The sequence to be sorted

 

$sort-key

function(item()) as xs:anyAtomicType

A function used to compute the sort key

Result

item()*

Namespace

http://saxon.sf.net/

Notes on the Saxon implementation

First available in Saxon 8.9. Dropped in Saxon 9.8; applications should use the XPath 3.1 fn:sort() function in preference.

Details

The function is no longer available.

See also:

fn:sort()