23 . (1) In any case where, by reason that the amount of the moneys determined by the court under section 20 to be due on any mortgage is less than the amount of the moneys actually paid off on that mortgage out of the proceeds of the prior sate, there has been an over-payment to the mortgagee under that mortgage (hereinafter referred to in this section as " the prior mortgagee "), the following provisions shall apply :-
(a) If no moneys are paid to the party omitted under section 21 (1) in compliance with the decree entered thereunder or under paragraph (ii) of section 21 (2) out of the proceeds of the resale, the party omitted shall be entitled, in the action instituted under section 19, to an order directing the prior mortgagee to pay to him the amount found under section 21 (1) to be due to him from the mortgagor or the amount of such over-payment, whichever amount is less;
(b) If any moneys are paid to the party omitted under section 21 (1) in compliance with the decree entered thereunder or under paragraph (ii) of section 21 (2) out of the.proceeds of the resale-
(i) the purchaser at the prior sale shall be entitled, in the action instituted under section 19, to an order directing the prior mortgagee to pay to such purchaser the amount of the moneys so paid to the party omitted or the amount of such over-payment, whichever amount is less; *Order against prior mortgagee if over-payment was made from proceeds of prior sale.* (ii) if the moneys so paid to the party omitted are less than the amount found under section 21 (1) to be due to him from the mortgagor, the party omitted shall be entitled, in the action instituted under section 19, to an order directing the prior mortgagee to pay to him the amount of the deficiency :
Provided, however, that no order shall be made under this sub-paragraph against the prior mortgagee unless, and except to the extent to which, the amount of the over-payment exceeds the amount specified in the order made against the prior mortgagee under sub-paragraph (i) of this paragraph ;
(c) if the party omitted is a transferee, and the provisions of section 22 are accordingly applicable, the purchaser at the prior sale shall, in the action instituted under section 19, be entitled to an order directing the prior mortgagee to pay to him the amout of such over-payment.
(2) Any order made under subsection (1) may be enforced in the same manner as an order or decree for the payment of money in an ordinary action.
EFFECT OF SALE IN EXECUTION OF DECREE
UPON PUISNE MORTGAGE