sveṣu sveṣu ca paṅktiṣu

svesu svesu ca paṅktisu
kalpayitva-after arranging; prthak paṅktih-different seats; ubhayesam-of both the demigods and the demons; jagat-patih-the master of the universe; tan-all of them; ca-and; upavesayam asa-seated; svesu svesu-in their own places; ca-also; paṅktisu-all in order.