Railcars grouped in a train by destination so that segments (blocks) can be uncoupled and routed to different destinations as the train moves through various junctions. Eliminates the need to break up a train and sort individual railcars at each junction.