from itertools import groupby
from operator import itemgetter
for letter, words in groupby(sorted(somelist), key=itemgetter(0)):
    print(letter)
for word in words:
    print(word)
print()
Python: список разделения на основе первого символа слова