Sort the characters in a string.
Summing tricks using xor.