It then decreed the application of the proceeds to arise from the sale, as follows: first, to the payment of the trust and legal expenses; second, to the payment of taxes and other liens prior in law to the first mortgage, including the liabilities incurred, as aforesaid, by the receivers, and such receivers' certificates or other indebtedness as might thereafter be sanctioned or ordered to be pai