Use a sorted directory list for a little better determinism