A vertical sorter having a track with at least two straight portions and at least two curved portions is disclosed. A linear motor primary coil is mounted on the at least two straight portions, and two adjacent straight potions are connected by at least one curved portion. Supply tables are disposed at ends of the at least two straight portions respectively and used for providing goods to each straight portion; chutes are disposed along two sides of the at least two straight portions and used for transporting the goods on each straight portion to corresponding areas; a sorting trolley is used for conveying the goods on the supply table to a corresponding chute; and a secondary magnet is mounted on the sorting trolley, wherein the linear motor primary coil and the secondary magnet cooperate to drive the sorting trolley to move along the track.