The device comprises a new type of device for a sorting stall for agricultural animals. The device is based on the pattern of a honeycomb, making it simple to create different types of spaces, such as hexagons, triangles parallelograms, passages, etc. The advantage of this system over the current (square) system is that the outwardly diverging walls (honeycomb arrangement) rapidly form an opening to allow passage of the animals when opened. The entire device is made from lightweight metal gates and posts.