Synchronization in disordered superconducting arrays