Sew polylines
It connects polylines which have the same extremities and/or group then inside a set of polylines.
Requirements
Select polylines or set of polylines and launch the command.
Check Group in a set to group all polylines inside a set of polylines.