'''
Write a method to sort an array of strings so that all the anagrams are next to each other.

Hints: 177, 182, 263, 342
'''


def grp_anagram(s):
    pass

if __name__ == '__main__':
    assert grp_anagram('') ==
    assert grp_anagram('') ==
    assert grp_anagram('') ==
    assert grp_anagram('') ==
    assert grp_anagram('') ==
