The court or judge may order costs to be paid by or to any person party to any proceeding under this Act. RSA 1980 cL-5 s185 RSA 2000