parentsUntil() in jQuery uses reversed order?
<p>I have this html structure : </p>

<pre><code>&lt;body&gt;
  &lt;a&gt;
    &lt;b&gt;
      &lt;c&gt;
        &lt;d&gt;
        &lt;/d&gt;
      &lt;/c&gt;
    &lt;/b&gt;
  &lt;/a&gt;
&lt;/body&gt;
</code></pre>

<p>I use the <code>&lt;d&gt;</code> element as the first node to start with.</p>

<p>Question :</p>

<pre><code> var s= $("d").parentsUntil("body").andSelf().map(function(){
    return this.tagName;
  }).get();
</code></pre>

<p>It should start from the bottom and to top  meaning the <code>s</code> array should look like <code>d,c,b,a</code>.</p>

<p>But it apparently look like : <code>["A", "B", "C", "D"]</code></p>

<p>Why is that ? </p>

<p><a href="http://jsbin.com/ivapox/2/edit" rel="nofollow"><strong>Jsbin</strong></a></p>
