How to sort ReadDir iterator
<p>I can display a directory list like this:</p>

<pre><code>use std::fs;

fn main() {
    let paths = fs::read_dir("./").unwrap();
    for path in paths {
        println!("Name: {}", path.unwrap().path().display())
    }
}
</code></pre>

<p>Can I sort the <code>ReadDir</code> iterator before iteration? The directory names are date-like numbers like <code>201610131503</code>. I read the <a href="https://doc.rust-lang.org/std/fs/struct.ReadDir.html">documentation for <code>ReadDir</code></a> but I did not find a built-in function for this. Maybe I do not know how to search?</p>