Python simple solution || Brute force
\nclass Solution:\n    def groupAnagrams(self, strs: List[str]) -> List[List[str]]:\n        ans = {}\n        for i in strs:\n            srt = str(sorted(i))\
```\nclass Solution:\n    def groupAnagrams(self, strs: List[str]) -> List[List[str]]:\n        ans = {}\n        for i in strs:\n            srt = str(sorted(i))\n            if srt in ans:\n                ans[srt].append(i)\n            else:\n                ans[srt] = [i]\n        return list(ans.values())\n```\n**.\n.\n.\n.\n.\n...Please Up-vote if you find this useful...**
['Sorting', 'Python', 'Python3']