The court may direct the sale to be made for cash, or on such credit as may be deemed most for the interest of all the parties.