Update js/grid.base.js

support of case sensitive sorting of local data, small optimization of `_compare`.
Merge pull request #407 from OlegKi/master

case sensitive sorting of local data