diff --git a/src/google_benchmark/gen_build_yaml.py b/src/google_benchmark/gen_build_yaml.py
index f3b3f461322..302e08737af 100755
--- a/src/google_benchmark/gen_build_yaml.py
+++ b/src/google_benchmark/gen_build_yaml.py
@@ -44,8 +44,10 @@ out['libs'] = [{
'language': 'c++',
'secure': 'no',
'defaults': 'google_benchmark',
- 'src': glob.glob('third_party/google_benchmark/src/*.cc'),
- 'headers': glob.glob('third_party/google_benchmark/src/*.h') + glob.glob('third_party/google_benchmark/include/benchmark/*.h'),
+ 'src': sorted(glob.glob('third_party/google_benchmark/src/*.cc')),
+ 'headers': sorted(
+ glob.glob('third_party/google_benchmark/src/*.h') +
+ glob.glob('third_party/google_benchmark/include/benchmark/*.h')),
}]
print yaml.dump(out)
diff --git a/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj b/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj
index b0c8d07b236..52774e08025 100644
--- a/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj
+++ b/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj
@@ -147,6 +147,10 @@
+
+
+
+
@@ -163,10 +167,6 @@
-
-
-
-
diff --git a/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj.filters b/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj.filters
index 6768675b3cb..9db6ed46574 100644
--- a/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj.filters
+++ b/vsprojects/vcxproj/google_benchmark/google_benchmark.vcxproj.filters
@@ -42,6 +42,18 @@
+
+ third_party\google_benchmark\include\benchmark
+
+
+ third_party\google_benchmark\include\benchmark
+
+
+ third_party\google_benchmark\include\benchmark
+
+
+ third_party\google_benchmark\include\benchmark
+
third_party\google_benchmark\src
@@ -90,18 +102,6 @@
third_party\google_benchmark\src
-
- third_party\google_benchmark\include\benchmark
-
-
- third_party\google_benchmark\include\benchmark
-
-
- third_party\google_benchmark\include\benchmark
-
-
- third_party\google_benchmark\include\benchmark
-