Nanostructure-induced L10-ordering of twinned single-crystals in CoPt ferromagnetic nanowires