Fix ordering of overlays

Device overlays are passed to Soong in highest priority to lowest
priority order, but aapt2 keeps the last value provided on the
command line.  Reverse the order that overlayGlobResults are
collected.

Bug: 71595164
Test: app_test.go
Change-Id: Ibc6b8297f1548766c5c92f3be969b89736dc8dff
diff --git a/java/app_test.go b/java/app_test.go
index 73ac3f7..d3216bf 100644
--- a/java/app_test.go
+++ b/java/app_test.go
@@ -111,13 +111,13 @@
 		enforceRROTargets:          nil,
 		enforceRROExcludedOverlays: nil,
 		fooOverlayFiles: []string{
-			"device/vendor/blah/overlay/foo/res/values/strings.xml",
 			"device/vendor/blah/static_overlay/foo/res/values/strings.xml",
+			"device/vendor/blah/overlay/foo/res/values/strings.xml",
 		},
 		fooRRODirs: nil,
 		barOverlayFiles: []string{
-			"device/vendor/blah/overlay/bar/res/values/strings.xml",
 			"device/vendor/blah/static_overlay/bar/res/values/strings.xml",
+			"device/vendor/blah/overlay/bar/res/values/strings.xml",
 		},
 		barRRODirs: nil,
 	},
@@ -132,8 +132,8 @@
 			"device/vendor/blah/overlay/foo/res",
 		},
 		barOverlayFiles: []string{
-			"device/vendor/blah/overlay/bar/res/values/strings.xml",
 			"device/vendor/blah/static_overlay/bar/res/values/strings.xml",
+			"device/vendor/blah/overlay/bar/res/values/strings.xml",
 		},
 		barRRODirs: nil,
 	},