Javascript is currently disabled in your browser. Click here to see instructions on how to enable it.
In a mortgage contract there is a subordination clause which details how if the property is sold to satisfy debts, who gets paid back first.
It's free and only takes about a minute.