Horayos3: 6
כָּל הַתָּדִיר מֵחֲבֵרוֹ קוֹדֵם אֶת חֲבֵרוֹ. וְכָל הַמְקֻדָּשׁ מֵחֲבֵרוֹ קוֹדֵם אֶת חֲבֵרוֹ.  פַּר הַמָּשִׁיחַ וּפַר הָעֵדָה עוֹמְדִים — פַּר הַמָּשִׁיחַ קוֹדֵם לְפַר הָעֵדָה בְּכָל מַעֲשָׂיו.
Whatever is more frequent than its counterpart takes precedence over its counterpart; and whatever is more holy than its counterpart takes precedence over its counterpart.  [If] the bull of the Anointed [Kohen] and the bull of the assembly are [both] waiting —- the bull of the Anointed [Kohen] takes precedence over the bull of the assembly in all its procedures.