fc91ed7fc0
Sort the output from reading directory contents so that the generated .gitignore and .hgignore files will be much more consistent (and friendly to change from subsequent runs, especially when they are committed to SVN/git/hg repos). This commit was SVN r31394.