In general, the farther away from the Sun, the greater the distance from one planets orbit to the next.
NASA has sent an unmanned probe to survey a distant solar system with four planets. Planet Zorb is closest to the sun of this solar system, Planet Krakatoa is second closest, Planet Beanbag is third from the sun, and Krypton is the farthest. The probe visits the planets in order, first Zorb, then Krakatoa, then Beanbag and finally Krypton. Did the probe have to fly farther in its trip from

[a] Zorb to Krakatoa or
[b] from Beanbag to Krypton?