The correct answer for Feudalism is King, nobles, knights, peasants and serfs. This was the common hierarchy found everywhere but there were some changes based on the country since all countries varied to some extents. The king was the highest and nobles and knights followed. This is going from top to bottom.
In the Catholic Church, the rank is the Pope, as the highest representative on Earth. followed by Cardinals, followed by Archbishops and Bishops, and finally the priests come last. This is also going from top to bottom. The lowest rank however is believers who attend the church. Usually, the next pope is chosen from the line of Cardinals.