Iteration order

Fixes #32