If the debt for which the mortgage or other lien on real property is held is not all due, as soon as a sufficient amount of the property has been sold to pay the amount due, with costs, the sale shall cease. Afterwards, as often as more becomes due for principal or interest, the court may, on motion, order more to be sold. However, if the property cannot be sold in portions without injury to the parties, the whole may be ordered to be sold in the first instance, and the entire debt and costs paid, with a rebate of interest where such a rebate is proper.
NRS 40.450