Try to make anagram's sort more stable

The reference_output did not match the output of the
program, neither with current comparator, not with
the one changed in this patch. Though, the new version
should be more stable, and possibly produce the same
order in different library implementations.

If not, it's quite possible that the problem is not
in the comparator per se, but in how auGlobalFrequency
is built, which will warrant a deeper investigation.


git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@178535 91177308-0d34-0410-b5e6-96231b3b80d8