title: Why does dart's listSync() behave differently on Windows and Ubuntu?
body: <p>When I walk a directory using the <code>listSync</code> function in Windows the entries are sorted but when I run the same code in Ubuntu they are not:</p>
  
  <p><a href="https://i.stack.imgur.com/YzsIO.png" rel="nofollow"><img src="https://i.stack.imgur.com/YzsIO.png" alt="enter image description here"></a></p>
  
  <p>Why is that?</p>