What happened
OrderedSet instances seem to not be equal and to have different hashCode() values despite containing the same elements, depending on how we got to the set of elements.
Set behaves as expected in the same scenario.
How to reproduce
https://jsfiddle.net/7xwu6c49/1/

It works with Set though:
