For appraisal in a proceeding, the sheriff or an interested party may petition the court having jurisdiction over the matter for an order fixing the sum to be paid to the sheriff for services, for compensation of services of expert appraisers, or for other property costs of making the appraisal, which sum shall be a legal cost of proceedings. The court in its order shall determine who shall pay for the costs unless otherwise provided by law.
42 P.S. § 21117