fix of sorting for localReader:{repeatitems:true}

Pragmatical fix of sorting/searching of local data filled in `localReader:{repeatitems:true}` format.
 The details are described [here](http://stackoverflow.com/a/24912577/315935).

TODOs: close changes are required for `addXmlData` too.