if (rdebug)
transformer.getTraceManager().fireSelectedEvent(sourceNode, this,
"test", selectPattern, selectResult);
Vector keys = transformer.processSortKeys(this, sourceNode);
NodeIterator sourceNodes = selectResult.nodeset();
// Sort if we need to.
if (null != keys)
sourceNodes = sortNodes(xctxt, keys, sourceNodes);