implemented RandomStringSort