ことのねに〜 和歌(waka)

The melody from Koto is sounding so sweet, being in harmony with a wind. Which started to tune, strings or ridges? (Koto is a Japanese traditional instrument with 13 strings)

ことのねに みねのまつかぜ かよふなり
いつれのをより しらべそめけむ
琴の調に、峰の松風が通いあって響いています。琴の「緒」と山の「尾」と、どちらの「を」から調べはじめたのでしょうか。
斎宮女御作。
音楽の好きな方へのプレゼントとして依頼されました。