If any property attached be perishable or in danger of serious and immediate waste or decay, the sheriff shall sell the same in the manner in which such property is sold on execution. Whenever it shall be made to appear satisfactorily to the court or judge that the interest of the parties to the action will be subserved by a sale of any attached property, the court or judge may order such property to be sold in the same manner as like property is sold under execution. Such order shall be made only upon notice to the adverse party or that party's attorney in case such party shall have been personally served with a summons in the action.