By leave of court and upon such terms as the court directs, a representative of a ward may sell or mortgage the ward's real estate or any interest in real estate including the oil, gas, coal or other mineral interest therein, when the court deems it necessary or expedient for the support and education of the persons entitled thereto under this Act, for the payment of the debts of the ward or for reinvestment.
755 ILCS 5/20-3