Sequence and randomness of aṅgas in yoga

I have found different sequences and quantity of the yoga parts (aṅgas), but the following sequence from Agni-purāṇa (381.11), I think, is especially interesting:

प्रणयमस्तथा ध्यानं योगो प्रत्याहारोऽथ धारणा | समाधिश्च मुनिश्रेष्ठा यमो नियम आसनम् ||
praṇayamastathā dhyānaṃ yogo pratyāhāro’tha dhāraṇā |
samādhiśca muniśreṣṭhā yamo niyama āsanam ||

The eleventh part of Kūrma-purāṇa (11.11-12) actually repeats this śloka and the description of the aṅgas sequence: praṇayama, dhyāna, pratyāhāra, dhāraṇa, samādhi, yama, niyama, āsana.

What is most interesting that ‘āsana’, which now has become the most important and maybe even the only practice, is listed in the very last position; yama and niyama go prior to it. I personally see logic even how the āsana is described by Patañjali, by Gorakśanāth, in Śiva-sūtra-vimarśinī, and other texts of different traditions and darśanas. Concerning yama and niyama, it is also logical, there is even a version that they were prescribed to saṃnyāsin, and also the logic is that the perception and perfection of yama and niyama can change with enhancement in contemplative methods.