(: Name: emptyorderdecl-25 :)
(: Description: Evaluation of empty order declaration set to "empty greatest" and a set of numbers (one of them set to a NaN expression) sorted in ascending order and local order by :)
(: clause set to empty greatest.:)

declare default order empty greatest;

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

for $i in (1,4,3,0 div 0E0,7)
order by $i ascending empty greatest
return $i