The phrase 'pecking order' originated in the traditional behaviour of which birds?

History Trivia: The phrase 'pecking order' originated in the traditional behaviour of which birds?