This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I see, The expression fn:sort((1, -2, 5, 10, -10, 10, 8), fn:abs#1) returns (1, -2, 5, 8, 10, -10). but I expect to get back (1, -2, 5, 8, 10, 10, -10) Is the implication that duplicates are eliminated?
Thanks, now fixed. I think the correct result is (1, -2, 5, 8, 10, -10, 10) The values (10, -10, 10) have equal sort keys so their order in the output should be the same as their order in the input.