כֹּהֵן קוֹדֵם לְלֵוִי, לֵוִי לְיִשְׂרָאֵל, יִשְׂרָאֵל לְמַמְזֵר, וּמַמְזֵר לְנָתִין, וְנָתִין לְגֵר, וְגֵר לְעֶבֶד מְשֻׁחְרָר. אֵימָתַי, בִּזְמַן שֶׁכֻּלָּן שָׁוִין. אֲבָל אִם הָיָה מַמְזֵר תַּלְמִיד חָכָם וְכֹהֵן גָּדוֹל עַם הָאָרֶץ, מַמְזֵר תַּלְמִיד חָכָם קוֹדֵם לְכֹהֵן גָּדוֹל עַם הָאָרֶץ:
Un cohen passe avant le lévite, celui-ci passe avant d’autres Israélites; ceux-ci passent avant un bâtard. Le bâtard passe avant le nathin, celui-ci passe avant l’étranger prosélyte, lequel passe avant l’esclave affranchi. Toutes ces préférences se rapportent aux hommes qui ne se distinguent entre eux par aucune autre chose. Mais si le bâtard est un savant, et si le grand prêtre est un ignorant, le savant bâtard passe avant le grand prêtre ignorant.
Sifrei Devarim
(Devarim 24:5) "If a man take a new wife": This tells me only of a virgin. Whence do I derive (the same for) a widow and a divorcée? From (Ibid.) "and he shall rejoice his wife" — in any event. If so, why is it written "new"? One who is "new" to him — to exclude a returned divorcée.