Does is matter what one is performed over the other in any order?
Studies that analyse the effects of exercise order on training performance show that volume (reps performed) is greater when an exercise is placed at the beginning of a training session
Since compound exercises engage multiple muscle groups and provide the greatest overload, they should generally be prioritized over isolation exercises and performed at the beginning of your training session
That being said, if you consider an isolation exercise important for meeting your individual training needs (like bringing up a lagging body part), performing this exercise before your compound lifts can be useful
Is you get to the end of a session it makes sense not you will start lifting some heavy weight on a compound lift as you won’t have the energy for it not if it was selected for the start of session.
The structure of all my training sessions and programmes