Agnidev, Vayudev, and Indradev are foremost among all the gods because it was these gods who first attained proximity to Brahma and they were the first to know that this Brahma is.
english translation
अग्निदेव, वायुदेव, तथा इन्द्रदेव, समस्त देवताओं में अग्रगण्य है क्योंकि इन देवताओं ने ही सर्वप्रथम ब्रह्म का समीपस्थ्य प्राप्त किया था और उन्होंने ही सबसे पहले यह ब्रह्म है, ऐसा जाना था I