bandhūnāṁ naṣṭa-gotrāṇām
arjunaḥ sāmparāyikam
hatānāṁ kārayām āsa
yathā-vad anupūrvaśaḥ
bandhūnām - of the relatives; naṣṭa-gotrāṇām - who had no remaining immediate family members; arjunaḥ - Arjuna; sāmparāyikam - the funeral rites; hatānām - of the killed; kārayām āsa - had executed; yathā-vat - as prescribed in the Vedas; anupūrvaśaḥ - in order of the seniority of the deceased.