Is is possible for .listFiles() to return files in different order on different systems
<p>As a result of processing, some data files are written to disk. </p>

<ul>
<li>Count of files between 2 servers (MAC and Linux) match</li>
<li>File names are identical between systems</li>
<li>Files content is identical between systems, as measured by md5sum</li>
</ul>

<p>Report is then computed based on content read from said files, using </p>

<pre><code>    for (File f : contentDirectory.listFiles()) {
               // magic
</code></pre>

<p><code>.listFiles()</code> javadoc says:</p>

<blockquote>
  <p>There is no guarantee that the name strings in the resulting array
  will appear in any specific order; they are not, in particular,
  guaranteed to appear in alphabetical order.</p>
</blockquote>

<p>While that is true, i wonder ... the order in which files will be listed, is not random, right? I mean, listing same files 2 times will produce the same results is this correct?</p>

<p>Does this mean that when files are listed on 2 different systems, order is likely to not be the same?</p>

<p><strong>Ultimately the bigger question is, how to list files in a directory in same order regardless of OS file are stored on?</strong></p>
