Fix T101746: Create copible links by order in multi socket
Implementing reference input in a multisocket requires
order to be preserved. To simplify implementation within a
fix, the copies are simply sorted and created in order. In
the long run, it would be better to improve the multisocket
link connection operations interface. But for now, that's enough.