This is after the story that Prophet S.A.W. said that the first wife to die will be she who has the longest arm so they started measuring the arms of all the wives.
Saudah R.A's was the longest but Zainab R.A passed away first so they realised that the Prophet meant she who gives the most sadaqah.