blob: 6a5d53de277d2bdc4e2681d9a55cfa867d0a3a42 [file] [log] [blame]
(: name : orderbylocal-30 :)
(: description : Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of positive numbers and the ordering mode set to ascending :)
(: Use a locally defined sequence. :)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
<results> {
for $x in (100000000000000000,10000000000000000,1000000000000000,100000000000000,10000000000000,1000000000000,100000000000,10000000000,1000000000,100000000,10000000,1000000,100000,10000,1000,100,10,1,0)
order by xs:decimal($x) ascending return xs:decimal($x)
}
</results>