First is Saman. Then Vyana. The latter's function is managed through it (viz., Samana). Then, secondly, Samans, once more comes to work.
ऊर्ध्वं समानो व्यानश्च व्यस्यते कर्म तेन तत्। तृतीयं तु समानेन पुनरेव व्यवस्यते॥