Bamidbar / Numbers 7:48 · Drash
בַּיּוֹם הַשְּׁבִיעִי נָשִׂיא לִבְנֵי אֶפְרָיִם אֱלִישָׁמָע בֶּן־עַמִּיהוּד׃
On the seventh day, the leader of the children of Efrayim (Ephraim), Elishama the son of Ammihud.
Drash דְּרָשׁ
The younger in front
A father said before everyone: the younger will be first. Hundreds of years passed. Will anyone remember those words?
Tanchuma: the commandments of the sages, like lighting the Chanukah lights, must be kept too, for the Holy One, blessed is He, agrees with their words. So it was with Yaakov (Jacob): he set Efrayim (Ephraim) before Menashe (Manasseh), and the Holy One, blessed is He, fulfilled his decree: the leader of Efrayim brought his gift on the seventh day, before the leader of Menashe.
How Midrash Tanchuma explain it
Midrash Tanchuma On the eighth day, the leader of the children of Menashe (Manasseh)
Let our teacher teach us: if oil was left in a Chanukah lamp on the first day, may it be lit on the second? So our teachers taught: if oil was left in a Chanukah lamp on the first day, one adds any amount to it and lights it on the second day. And if some was left on the second day, one adds to it on the third and lights it, and so on all the days. But if some was left on the eighth day, one makes a separate bonfire of it. Why? Since it was set aside for a commandment, it is forbidden to use it.
Let a person not say: "I will not keep the commandments of the elders, since they are not from the Torah." The Holy One, blessed is He, said to them: "My children, you may not say so. Whatever they decree for you, keep it," as it says: "And you shall act according to the Torah they teach you" (Devarim / Deuteronomy 17:10–11). Why? Because I agree with their words too, as it says: "You will decree a thing, and it will be established for you" (Iyov / Job 22:28). Know this: when Yaakov (Jacob) blessed Menashe and Efrayim (Ephraim), what is written there? "And he set Efrayim before Menashe" (Bereshit / Genesis 48:20): he made the younger come before the elder. And the Holy One, blessed is He, fulfilled his decree. When? At the gifts of the leaders, when the tribe of Efrayim brought first, as it says: "On the seventh day, the leader of the children of Efrayim," and after him Menashe. From where? From what is read in the passage: "On the eighth day, the leader of the children of Menashe."
Takeaway
The commandment to light the Chanukah lights was set by the sages, it is not in the Torah (Shabbat 23a).
Efrayim and Menashe are the sons of Yosef (Joseph), Menashe the elder (Bereshit / Genesis 41:50–52).
Yaakov laid his right hand on the head of Efrayim, the younger, and his left on the head of Menashe, the elder (Bereshit / Genesis 48:14).