(a) Except as otherwise provided in Subdivision (b), property not capable of division without prejudice to or spoiling the whole shall be offered for private sale confined to the parties.(b) Parties defendant owning a majority in value of the property may object in writing to any sale, requesting that the property be awarded to them at its valuation fixed by the court and that their interests in the same remain undivided. Upon such request the entire property shall be awarded to the parties objecting to sale, as tenants in common, subject to payment to the parties desiring partition and sale of the amounts of their respective interests based upon the valuation. The amounts due the parties shall be charged as liens upon the property, to be paid in such manner and time as the court shall direct.