The synchronization of multiple nanocontact spin-torque oscillators (NC-STOs) is mediated by propagating spin waves (SWs). Although it has been shown that the Oersted field generated in the vicinity of the NC can dramatically alter the emission pattern of SWs, its role in the synchronization behaviour of multiple NCs has not been considered so far. Here we investigate the synchronization behaviour in multiple NC-STOs oriented either vertically or horizontally, with respect to the in-plane component of the external field. Synchronization is promoted (impeded) by the Oersted field landscape when the NCs are oriented vertically (horizontally) due to the highly anisotropic SW propagation. Not only is robust synchronization between two oscillators observed for separations larger than 1,000 nm, but synchronization of up to five oscillators, a new record, has been observed in the vertical array geometry. Furthermore, the synchronization can no longer be considered mutual in nature.