Indian Classical music is based on S:P and S:M samvad. Therefore, all the 22 shrutis had to have their P and M within these 22 places only ! Would the Madhyams and Panchams of every Shruti found as above, 'be' within these 22 Shruti positions only ? Sounded unlikely, but it was so! (Refer to following tables)
The table below shows S:P Samvad of all 22 Shrutis. Interestingly, all the 22 shrutis had their respective Pancham within these 22 shruti positions only!

Now, the next table below, shows S:M Samvad of all 22 Shrutis :
Interestingly, all the 22 shrutis had their respective Madhyam within these 22 shruti positions only!

This natural arrangement allows consonant pairs of Madhyams/Panchams as shown in the previous topic to be used in Ragas.