Deterministic bundle ordering

Resolves #33.