Some ingredients used in certain lotions can inhibit the way sunscreen ingredients deposit/spread on the skin. Based on this fact, I recommend applying sunscreen first to make sure that nothing interferes with the deposition of the active ingredient.
If you are applying a product on top of the sunscreen, it’s best to wait a little while before applying the second product. Try applying the sunscreen as the first step in your post-cleaning routine, then do the rest of your beauty routine. Finally, come back and apply your facial moisturizer. This will give the sunscreen time to soak in and minimize the change for negative interaction.
To save time and effort, you could solve your problem by using a moisturizer with sunscreen in it. That’s probably the best approach because the sunscreen active has been tested with the rest of the ingredients in the formula.