<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1091,6 +1091,7 @@ The latest dev versions are on github
       Venteicher for the patch.
     - fix a bug where the cursor position/window size of the nerd tree buffer
       wasnt being stored on closing the window, thanks to Richard Hart.
+    - fix a bug where NERDTreeMirror would mirror the wrong tree
 
 3.1.1
     - fix a bug where a non-listed no-name buffer was getting created every</diff>
      <filename>doc/NERD_tree.txt</filename>
    </modified>
    <modified>
      <diff>@@ -2550,7 +2550,7 @@ function! s:initNerdTreeMirror()
             return
         endif
 
-        let bufferName = options[keys(options)[choice-1]]
+        let bufferName = options[sort(keys(options))[choice-1]]
     elseif len(keys(options)) ==# 1
         let bufferName = values(options)[0]
     else</diff>
      <filename>plugin/NERD_tree.vim</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bc55f3dda800353b482f2c3fd8b4ea6bfeddf239</id>
    </parent>
  </parents>
  <author>
    <name>marty</name>
    <email>martin_grenfell@msn.com</email>
  </author>
  <url>http://github.com/scrooloose/nerdtree/commit/c864c6e463349a22e93e00ee48147321a61601f2</url>
  <id>c864c6e463349a22e93e00ee48147321a61601f2</id>
  <committed-date>2009-10-08T22:46:33-07:00</committed-date>
  <authored-date>2009-10-08T22:41:00-07:00</authored-date>
  <message>bugfix for NERDTreeMirror

when the user was prompted to choose a tree to mirror, it would mirror
the wrong one</message>
  <tree>bc5220a48b88b896eb0faf94bd57b0dab6a5e28b</tree>
  <committer>
    <name>marty</name>
    <email>martin_grenfell@msn.com</email>
  </committer>
</commit>
