Android: Sort res/ files when building apks.

Historically, we've used the file ordering from aapt2 in the final
apks. It used to be the case that aapt2 sorted the files, but it seems
they no longer do (so we should sort them ourselves).

Sorting reduces noise when diffing apks.

Change-Id: I33ae5a056e0736ebba00aa1571db8a956e2649e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756937
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687763}
1 file changed