Hi all
I created a post in the Powerapps forum about the same thing as I;m unsure if this is a powerapps or power automate type thing.
As you can see in the below screenshot, the AM and PM are sometimes not in sequence. Sometimes PM is before the AM but I need it to always show AM first and then PM. The same thing is being reflected in the columns in dataverse.

My flow is as follows:

Data it generates:

So as you can see, sometimes the PM is generated before the AM even though in the flow it is set as - AM first/ PM second.
How can I always get AM first and PM second.