Magnetic ordering of nanocluster ensembles promoted by electronic substrate-mediated interaction: Ab initio and kinetic Monte Carlo studies