jimweirich/rake — pull request #122 by joliss (2012-08-13 21:32:36+00:00)
Title: Make glob order alphabetical, not file-system dependent

Dir[] has undefined order, so sorting it is strictly better than not.
Sorting should not have a performance impact in any realistic use case:
Sorting 100k shuffled elements is near-instantaneous, and sorting 1M
elements takes ~3 seconds, so file system access time will always
dominate.

One particular reason why this is useful is that undefined ordering is a
major source of flickering test suite failures.