The system sorts and conveys the material flexibly and arranges the materials in a queue; the conveying unit distributes the products to the preset receiving units, and the products are ordered, smoothly and damage-free into the packaging through the servo sorting tailstock unit. The machine completes the packaging.