title: How to use tree reorder in CakePHP?
body: <p>I would like to generate new left / right values to sort my categories by 'name' ASC.</p>
  
  <p>I tried:</p>
  
  <pre><code>$this-&gt;Category-&gt;reorder(array('id' =&gt; null, 'field' =&gt; 'name', 'order' =&gt; 'ASC', 'verify' =&gt; true));
  </code></pre>
  
  <p>So, I have few categories added in database (don't care about parent / child at the moment).</p>
  
  <p>generateTreeList gave me this output (order by lft):</p>
  
  <ul>
  <li>Alaska</li>
  <li>Kanada</li>
  <li>Zimbabwe</li>
  <li>Polska</li>
  <li>Francja</li>
  </ul>
  
  <p>But I want to get alphabetical order:</p>
  
  <ul>
  <li>Alaska  </li>
  <li>Francja</li>
  <li>Kanada</li>
  <li>Polska </li>
  <li>Zimbabwe </li>
  </ul>
  
  <p>So I would like to use reorder() to change lft values. It returns true but do nothing with lft / rght values.</p>
  
  <p>I don't want to use find() in this case to order it - I need it for list in from.</p>