To minimize deformation of the lumber that can occur during the drying process, the number of sticks in the packages has gradually increased. Leading to a significant increase in the amount of sticks being received by the stick intake, at the same time as a higher capacity of a dry sorting has been achieved in connection with the installation of optimization systems.