Fix nondeterministic output from walkdir() by requesting sorted output

I forgot to request sorted output in my new test yesterday, which
resulted in nondeterministic behavior across file systems/machines.
This broken in one configuration last night (and could break in others
over time).