Batcher; fix #158; add sequence for failsafe sorting