Basic grouping
Input
['apple', 'banana', 'apricot', 'Berry']
Output
{'a': ['apple', 'apricot'], 'b': ['banana', 'Berry']}
Words starting with 'a' (case-insensitive) are grouped under 'a', 'banana' and 'Berry' under 'b'. Original word order is preserved inside each list.