Pagination order by in Cakephp
<p>How to fix pagination order by problem in cakephp. My code is here..  </p>

<pre><code>$testarray = array(010,011,012,013,014,015,001,002,003,004,005,006,007,008,009);

$this-&gt;paginate = array(
    'conditions' =&gt; $testarray,
    'fields' =&gt; array('Test.id'),
    'limit' =&gt; 10,
    'page' =&gt; 1
);

$testpaginate = $this-&gt;paginate('Test');
</code></pre>

<p>I want the output to be like $testarray, but I get the following:</p>

<pre><code>array(001,002,003,004,005,006,007,008,009,010)  
</code></pre>

<p>How can I achieve my desired result?</p>
