Sort the jar files from the war before adding to classpath.

Currently, the order they are inserted onto the classpath depends on
directory iteration order of the WEB-INF directory at war-file
building time. On some filesystems that is alphabetical, and on some
filesystems, it is completely arbitrary. On the second kind of
filesystem, gerrit-patch-jgit can randomly end up on the classpath
*after* jgit itself, thus causing it to not be loaded.

Change-Id: I4ee9b22cbb93405e033f6f6bda9da1dd87b3419f
1 file changed