That means a compass still works in orbit, aligning itself with Earth's magnetic north. (That is, provided there are no other strong magnets nearby.) However, coronal mass ejections (CMEs) and more ...
But within our solar system, one magnetosphere dwarfs all others: that of the sun. "If you're in this stereotypical deep space vacuum in between the planets, [a compass] is mostly going to measure ...