Hey guys,
hope you could help me,
i am writing a program in which it reads a file text and than generates a report containing a list of words of 1letter, 2letters..
every list should be made in an alphabetical order.
for example the report should be like this:

word of 1 lettre(s) :
a
l

word of 2 lettre(s) :
by
of
an

word of 5 lettre(s)...