blob: 8b673fbed99f46a1ad725cf566a38515d85455ee [file] [log] [blame]
(: name : orderbylocal-4 :)
(: description : Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "concat($x,"()") ", where $x is a set of Strings and the ordering mode set to descending :)
(: Uses a locally defined string :)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
<results> {
for $x in ("A String","B String","C String","D String","E String","F String","G String","H String","I String","J String","K String","L String","M String","N String","O String","P String","R String","S String","T String","U String","V String","W String","X String","Y String","Z String")
order by concat(xs:string($x),"()") descending return concat(xs:string($x),"()")
}
</results>