Senior debt is given preference in the event of debt default.
The order in the hierarchy is:
Senior Debt
Subordinated Debt
Preferred Equity
Common Equity
From top to bottom this order shows the lowest to highest risk but the highest priority of repayment to lowest priority of repayment.