If it appears to the court, upon application of the personal representative, the surviving spouse, or the report of the referee, that the property, or any part of it, cannot be advantageously divided, the court may order the whole, or any part of such property, sold, and the share of the surviving spouse in the proceeds paid over to the surviving spouse.