Where real property is held by a person or persons subject to future interests in a person or persons unborn, unascertained or not sui juris and it shall appear to the court that it would be to the interests of such persons having future interests that the real property should be sold, mortgaged, leased or exchanged, the court, upon the application of any party in interest, may appoint a trustee to sell, mortgage, lease or exchange the real property and to receive the proceeds and hold them in trust for such present and future interests as shall be directed by the court.