Hi,
I am a beginner to Power Automate and I am learning things as I am doing it. I built a flow which fetches the data from Azure DevOps Queries --> Creates HTML Table --> Sends email at scheduled time. Below is the screenshot:

Output as shown below:

(Had to redact the screenshot due to confidentiality clause of our company)
As you can see in above screenshot, the data sorting is random. I have to sort the data in the table by Priority field. I have tried sorting the data in Azure DevOps by Priority field, but that only works for DevOps. Power Automate does not fetch sorted data from DevOps. That means we have to do some tinkering in Power Automate itself.
Now I know there is an expression sort(), but it requires Array. I do not know in which step I have to use it.
Can anyone please help me with sorting the data by Priority in Ascending order..? It would be of great help