In ancient times, how many products did an official need? Is the ranking order of officials in court according to official products?

I looked it up online, hoping to meet your requirements;

In the fourth year of Wude in the Tang Dynasty, officials with more than five grades held ivory rafts, while officials with less than six grades held bamboo rafts. The Ming dynasty stipulated that officials with more than five grades should hold ivory warehouses, and officials with less than five grades should not hold them. Since the Qing dynasty, water boards have been abandoned;

Only those above grade four can go to court, those below grade four can also go to court, those with the permission of the emperor can go to court, and those with titles can also go to court. Generally, they are ranked by grades, and Zuo Wu has a right essay. In the Han Dynasty, the three divisions and three orphans were the first, the three fairs were the second, the princes were the third, the generals, a title of generals in ancient times, chariots and guards were the second, and Jiuqing was the second. The imperial court chief should be before Jiuqing, and the secretariat should be after General Wei. In the Tang Dynasty, there were three divisions and three orphans. One was Shangshuling, Shangshuling, Shangshuling, Counselor's Order, Counselor of Three Provinces, Counselor of Yushitai, vassal king, Six Departments and Three Supervisors of Nine Halls. Secretariat, if our time comes to North Korea, it will be after three provinces.