title: How to enumerate a subset of files in Data Lake Store?
body: <p>I have a large number of files stored in a Data Lake Store - I now need to get the <em>latest</em> file. </p>
  
  <p>Because I haven't found a better way, my current approach involves listing all the files and looking at the modified date. However, I suspect that can cause some issues when dealing with a larger set of files. The API has a way of limiting it, by calling the following method:</p>
  
  <pre><code>var statuses = _client.FileSystem.ListFileStatus(_store._dlsAccountName, "/the/path", 2);
  </code></pre>
  
  <p>which would only give me 2 files. However, they seem to be returned in alphabetical order. </p>
  
  <p>Does anybody know how to:</p>
  
  <ul>
  <li>enumerate the latest files only, <em>or</em></li>
  <li>change the way the list file status returns results?</li>
  </ul>