dhtmlxGrid _sortCore is not right.

_sortCore in file dhtmlxgrid.js:5699 has problem:

	_sortCore:function(col, type, order, arrTS, s){
....
		if (type == 'str'){
			s[sort](function(a, b){
					if (order == "asc")
						return arrTS[a.idd] > arrTS[b.idd] ? 1 : (arrTS[a.idd] < arrTS[b.idd] ? -1 : 0);
					else
						return arrTS[a.idd] < arrTS[b.idd] ? 1 : (arrTS[a.idd] > arrTS[b.idd] ? -1 : 0);
			});
		}

first problem: when string value is null, the above code is not right, because null >“x” is false and null < “x” is false too, see here: stackoverflow.com/questions/298 … -come-last

second problem: when string is not ascii, the above code is not right too, need String.prototype.localeCompare() or Intl.Collator to sort string, see here: developer.mozilla.org/en/docs/W … aleCompare
developer.mozilla.org/en-US/doc … s/Collator

better move the str sort function to a method to allow user to rewrite it.

thanks.