If you're thinking about the order from the Sun, it's Mars.
However, if you're thinking about the middle by mass, then Jupiter is the closest as it is the largest planet in our solar system.