title: Does "find" return nodes in order?
body: <p>Do <code>XML::LibXML::Node::find</code> and related methods <em>guarantee</em> that the list of nodes will always be ordered as in the XML document?</p>
  
  <p>This is important for me because my document corresponds to a big array in which I want to be able to delete series of items in certain circumstances, and I must make sure something like this works consistently:</p>
  
  <pre><code>my @nodes = $dom-&gt;find('//MyElement[@attr=something]/descendant::Token/@id')
                  -&gt;get_nodelist;
  for my $token ( reverse map { $_-&gt;value } @nodes ) {
      splice @my_big_array, $token, 1;
  }
  </code></pre>
  
  <p>The difficulty is that this is not documented in <a href="https://metacpan.org/pod/XML%3a%3aLibXML%3a%3aNode#find"><code>XML::LibXML</code></a>, and I don't know whether this depends on <code>libxml2</code> implementation, <a href="http://xmlsoft.org/html/index.html">whose documentation</a> I don't really understand, or on the <a href="http://www.w3.org/TR/DOM-Level-3-Core/core.html">DOM standard</a> or some other W3C standard, which were clearly not written to be read my mere mortals.</p>