אֵ֣לֶּה בְנֵי־שֵׁ֔ם לְמִשְׁפְּחֹתָ֖ם לִלְשֹׁנֹתָ֑ם בְּאַרְצֹתָ֖ם לְגוֹיֵהֶֽם׃
These are the sons of Shem, after their families, after their tongues, in their lands, after their nations.
Read midrashic interpretation of Genesis 10:31: and classical rabbinic exegesis.