Anagram bucketing