(1) If an estate in dower or curtesy is included in the order of sale its proportion shall be one-half of the proceeds of the sale of the property, or of the sale of the undivided share in the property upon which the claim or dower existed.
(2) If any other estate for life or years is included in the order of sale its proportion shall be the whole proceeds of the sale of the property, or of the sale of an undivided share of the property in which the estate existed.