Sastra Bait Kedua Kejadian 10:1: The Midrash

וְאֵ֙לֶּה֙ תּוֹלְדֹ֣ת בְּנֵי־נֹ֔חַ שֵׁ֖ם חָ֣ם וָיָ֑פֶת וַיִּוָּלְד֥וּ לָהֶ֛ם בָּנִ֖ים אַחַ֥ר הַמַּבּֽוּל׃

Inilah keturunan anak-anak Nuh, yaitu Sem, Ham, dan Yafet; mereka mendapat anak-anak lelaki sesudah air bah.

The Midrash of Philo

Why among the three sons of Noah does Ham appear always to occupy the middle place, but the two extremities are varied; for when their birth is mentioned, Shem is placed in the first rank, in this manner, Shem, Ham, and Japhet; but when they are spoken of as fathers, then Japhet is mentioned first, and the beginning of the enumeration of the nations is derived from Japhet himself? (Genesis 10:1).
Tanya RabiBookmarkShareCopy

The Midrash of Philo

Since, although the virtuous son was in point of time younger than the wicked son, yet in point of virtue he was older. On which account, on the present occasion, when their actions are to be compared together, he is placed first. Therefore one of them exercises a business, and takes care of living creatures, although they are devoid of reason, gladly taking upon himself the employment of a shepherd, which is a princely office, and as it were a sort of rehearsal of royal power; but the other devotes his attention to earthly and inanimate objects.
Tanya RabiBookmarkShareCopy