forward,
visit indices in ascending order
reverse,
visit indices in descending order. Note that this may be slightly more expensive than forward iteration.