This article presents a strategy for efficient sorting path planning and trajectory optimization with multiple constraints. The proposed strategy is applicable to typical high-density sorting applications. It plans the sorting path while optimizing each trajectory. https://www.knowall.blog/