I Chronicles 24:7 Midrash

וַיֵּצֵ֞א הַגּוֹרָ֤ל הָרִאשׁוֹן֙ לִיה֣וֹיָרִ֔יב לִֽידַעְיָ֖ה הַשֵּׁנִֽי׃

Now the first lot came forth to Jehoiarib, the second to Jedaiah;

Read midrashic interpretation of I Chronicles 24:7: and classical rabbinic exegesis.