contestada

In the bankruptcy process, real estate is sold for a value higher than the amount owed on the mortgage for that real estate. How are the proceeds that exceed the mortgage used?