village-builder

VB-1473: Refactor: one due-queue helper (sim/due) for the sorted queues

Status: done (2026-11-21) Priority: 2 Size: M Design ref: none (code structure). docs/architecture/target-v2.md sections 2 and 4.1; docs/cost.md (Rules for cost, 4) Goal: Eight modules each hand-roll a list sorted by due time: st.workDue and st.legDue (sim/agents, two near-identical binary searches, slotOf and legSlot), st.plans.due (sim/plans, a sort after each change), st.asking (sim/wishes), st.visits (sim/visits), st.offers (sim/offers), st.occasions (sim/occasions), st.obligationsDue (sim/obligations). One pure helper holds the search, the insert, the removal and the taking of what is due; each queue stays the state of its owner, in its saved shape. Acceptance criteria: