31:17ל״א:י״ז
1 א

את בניו ואת נשיו. הִקְדִּים זְכָרִים לִנְקֵבוֹת, וְעֵשָׂו הִקְדִּים נְקֵבוֹת לִזְכָרִים, שֶׁנֶּאֱמַר וַיִּקַּח עֵשָׂו אֶת נָשָׁיו וְאֶת בָּנָיו וְגוֹמֵר:

את בניו ואת נשיו HIS SONS AND HIS WIVES — He took the males before the females whereas Esau took the females before the males, as it is said (Genesis 36:6) “And Esau took his wives and his sons etc.” (Genesis Rabbah 74:5)