Cleanse before wax depending on which polish you use. As said above, if it breaks down properly then you're fine, but if you're using AG SRP, it has fillers/silicone which you'll want to remove so cleanse the paint before wax.
If in doubt do what you feel like, at the end of the day the most important phase is removing the defects, anything after that is just adding a few percent of perceived benefit