use NodeSet.to_document_order instead of sort

This commit is contained in:
jez 2009-03-03 07:58:14 +00:00
parent 340093a56d
commit 88150c062e

View file

@ -96,7 +96,7 @@ public:
Arabica::XPath::NodeSet<std::string> nodes;
for(KeyList::const_iterator key = k->second.begin(), keye = k->second.end(); key != keye; ++key)
nodes.push_back((*key)->lookup(id, context));
nodes.sort();
nodes.to_document_order();
return nodes;
} // lookup