Dir.glob sorts different on OS X/Win/Linux