2 lines
106 B
Text
2 lines
106 B
Text
anagramGroups = GatherBy[SortBy[GatherBy[list,Sort[Characters[#]] &],Length],Length];
|
|
anagramGroups[[-1]]
|