The ‘formation rules’ as I understand them are you cannot field less than 3 defenders, 2 midfielders or 1 forward.
Auto sub will field in order of your chosen priority without breaking the above (if the above will be broken the next sub will be fielded and so on).