Aaron died four months after the death of his sister Miriam, whereas Moses died nearly a year after his sister. Her death took place on the first day of Nisan, and that of Moses on the seventh day of Adar in the same year. Although the death of these three did not take place in the same month, God spoke of them saying, "And I cut off the three shepherds in one month," for He had determined upon their death in one month. It is God's way to classify people into related groups, and the death of these three pious ones was not determined upon together with hat of the sinful generation of wanderers in the desert, but only after this generations had died, was sealed the doom of the three. Miriam died first, and the same fate was decreed for her brothers as a consequence of her death.
Death of Miriam of Aaron
Legends of the Jews 5:52