What does "precedence" mean?

Precedence: The act or state of going or being before in rank or dignity, or the place of honor; right to a more honorable place; superior rank; as, barons have precedence of commoners. Which of them [the different desires] has the precedency in determining the will to the next action Locke.

Sources