to make an order; to draw up an agreement
Phonosemantic compound. 言 represents the meaning and 丁 represents the sound.
《說文》:“訂,平議也。从言,丁聲。”