(a) The net proceeds of a sale of the property conducted in an action for partition started under AS 34.07.310 shall be considered as one fund.
(b) The fund shall be divided into separate shares, one for each apartment owner in a percentage equal to the percentage of undivided interest that the owner has in the property.
(c) After first paying out of the respective share of each apartment owner, all mortgages, deeds of trust, and liens on the undivided interest in the property owned by the apartment owner, the balance remaining in each share shall be distributed to each apartment owner respectively.