Any order made by the fence viewers, or any agreement in writing between adjoining landowners, when recorded in the office of the recorder of deeds, as in this chapter provided, shall bind the makers, their heirs, and subsequent grantees.