Dir.glob order is dependent on OS. We should sort it here too.
Merge pull request #23 from timgaleckas/master

We need to sort shared dependencies as well as env dependencies.