Added ordered set to the test.

Actually it's slightly faster to iterate ordered set compared to set.

Iterating an array is a bit faster.