Shopify/batman — pull request #590 by jholster (2012-11-27 09:37:31+00:00)
Title: Make SetSort.toArray() to slice a copy of _storage

For consistency with SimpleSet, AssociationSetIndex, etc., SetSort.toArray() should return a copy of _storage array instead of the original one to prevent unintentional manipulation of the object.