* fix bug with sorted arrays, entire array scope (aka 'sets', eh?)
* cleanup