It’s exactly the same process as grouping staff by Division. You have a Section for each employee and that turns into a crucial while in the map, as well as the corresponding values are classified as the lists of staff members assigned to that department. In this instance, the keys are the sorted words, and also the values are the dictionary word