Random ordering of the two words