Policies read and apply order

Hello there!

I am trying to understand the logic behind the policies read and apply order, if there are policies at group level and policies at entity level, which ones will be first applied?

Can anyone help me with some information on this?

Thanks a lot,