It’s the exact same approach as grouping staff by Section. You obtain a Division for every employee and that gets to be a key within the map, as well as corresponding values are definitely the lists of personnel assigned to that Office. In this instance, the keys will be the sorted words, as well as the values are definitely the dictionary terms