Let's say I have a 5V output on a voltage regulator, and I have a 5V motor that draws 1A (rapid and short on-off cycles), and a CPU that takes 5V and draws 20ma. Does it matter which load comes "first" (closest to the regulator output), so that there is less chance of the CPU resetting itself?