If the court should determine that it is necessary to sell any or all of the real estate for the purposes mentioned in this title, then it may make and cause to be entered an order directing the personal representative to sell so much of the real estate as the court may determine necessary for the purposes aforesaid. Such order shall give a particular description of the property to be sold and the terms of such sale and shall provide whether such property shall be sold at public or private sale, or by negotiation. After the giving of such order it shall be the duty of the personal representative to sell such real estate in accordance with the order of the court and as in this title provided with reference to the public or private sales of real estate.