You can structure a group of wires and cables by linking them to a cable.
This structure is displayed in the tree, under the logical reference, in the Electrical > Wires node.
In this scenario, you insert Wire1 and Wire2 under Cable1, then remove Wire2 from Cable1.
You can now remove Wire2 from Cable1.