quick and easy way: if you're going to shift down (smaller) one ring in front, shift up (smaller cog) two in back first.
If you're going to shift up one ( bigger ring ) in front, shift down (bigger cog) two in back.
Won't hold true for all drive trains, but will for most.