sortInDocumentOrder
531532533534535536537538539540541
{temp.add(contextNode.getNode());} contextNode = contextNode.getNextDirect(); } p.clearContext(getExpressionId()); // TODO : understand why we sort here... temp.sortInDocumentOrder(); for (final SequenceIterator j = innerSeq.iterate(); j.hasNext();) { final NumericValue v = (NumericValue) j.nextItem(); // Non integers return... nothing, not even an error ! if (!v.hasFractionalPart() && !v.isZero()) { // ... whereas we don't want a sorted array here