One-machine batching and sequencing of multiple-type items