It’s the same process as grouping workers by department. You obtain a department for every personnel and that gets to be a vital from the map, as well as corresponding values tend to be the lists of personnel assigned to that Division. In this instance, the keys are definitely the sorted terms, and also the values are classified as the dictionary