Sorting systems are used to bridge between production and packaging machinery. Sorting systems are used to sort items based on various criteria so that they can be packaged accordingly. Manual sorting is a time and effort intensive process. Automatic sorting systems allow for fast and efficient sorting of products. To demonstrate the sorting system we develop a PLC based sorting system project that uses pistons with color sensing system powered by PLC control to achieve this functionality. The system consists of a conveyor belt to carry products from one end to collection baskets. It consists a color sensor to sense the type of products using color sense, the system now utilizes 3 pistons with piping and control valves to control their operations. The system is powered by a PLC to control the sorting system. 3 collection baskets are used to collect samples sorted by the pistons mounted parallel to each one. The PLC coordinates with sensors and piston valves in order to achieve the desired functionality and demonstrate the fully automated product sorting system.