summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/letOrderBy.xq
blob: f4106d2807cad31db88c7adc81342a2660d3ce0d (plain)
1
2
3
4
for $a in (8, -4, 2)
let $b := ($a * -1, $a)
order by $a
return $b