Traditionally each returns self, get rid of old sort and sort!. sort should return an Array. We were redefining it in err.