How do leadership precedence and the prayer’s structure relate?

Funeral Prayer: Leadership, Four Takbirs, Supplications and Salam