This chapter becomes easier when two issues are separated:
1. Qiblah direction: inside or around the Ka'bah, different worshippers can legitimately face different sides.
2. Precedence over the prayer leader: a follower must not stand ahead of the prayer leader in the legally relevant direction.
Many errors in this topic come from treating these as one question.