Hi. I have the following problem. After update to 2.2 from 2.1.1 my app suddenly started to crash. After some digging, I have figured out that the problem starts from the line:
where collection is instance of MixedCollection.
That may sound weired, but what actually causes the problem is the way method initConfig changed from 2.1.1 to 2.2. When instance of Ext.util.Sorter is created, a config with root property set to undefined is being passed to it's constructor:
In 2.1.1 this will leave _root property of the sorter class with its default value of null. However, in 2.2 initConfig changes this behaviour so that _root property will be set to undefined. That difference leads to a different behaviour of defaultSortFn inside sorter class because the value of _root is being strictly compared to null: