note
Skeeve
<p>You write:</p>
<blockquote><i>
I want the recursion to occur in the same order as they are available in the data directory since there are dates in the subdirectories of data which must be printed in that order.
</i></blockquote>
<p>
But: There is no guaranteed "order" in a directory. So either you use the suggested solution posted here or, and that's what I usually do, you collect the paths you're interested in. Afterwards you process this collection in any order you feel fitting.
</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-253915">
<hr><code>s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%</code>
<br><font color="red"><code>+</code></font><code>.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e</code>
</div></div>
1026989
1026989