Whenever the property of a corporation is at the time of the appointment of a trustee or receiver encumbered with liens of any character, and the validity, extent or legality of any such lien is disputed or brought in question, and the property of the corporation is of a character which will deteriorate in value pending the litigation respecting the lien, the district court may order the receiver or trustee to sell the property of the corporation, clear of all encumbrances, at public or private sale, for the best price that can be obtained therefor. The net proceeds arising from the sale thereof, after deducting the costs of the sale, shall be paid into the court, there to remain subject to the order of the court, and to be disposed of as the court shall direct.
K.S.A. 17-6907