Another useful feature would be to join wagons then split off first N. This would be useful for the kind of late game high-throughput factory block where belt throughput is simply not enough and direct insertion from/into wagon is used, like:
| --- ingredient wagons ---|
| --- inserters ---|
| --- machines ---|
| --- inserters ---|
| --- product wagons ---|
Suppose the wagons enters the queue from left to right. Currently the wagon yard role should already allow some shunting locomotive (on manual schedule) to go the end of the queue (with newly obtained ingredient wagons), join the existing wagons, then push them to the front of the queue. We just need a way to allow shunting locomotives to detach a select number of wagons from the front of the queue and either provision the empty wagons for requesters or send the filled product wagons to the providers.