The Supreme Personality of Godhead as Mohinī-mūrti, the master of the universe, arranged separate lines of sitting places and seated the demigods and demons according to their positions.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
कल्पयित्वा पृथक् पङ्क्तीरुभयेषां जगत्पतिः । तांश्चोपवेशयामास स्वेषु स्वेषु च पङ्क्तिषु
kalpayitvā pṛthak paṅktīrubhayeṣāṃ jagatpatiḥ | tāṃścopaveśayāmāsa sveṣu sveṣu ca paṅktiṣu
SB 8.9.20