/**
* Sorting in Javascript for Chinese Character. The Chinese Characters are sorted on the radical and number of
* strokes. This plug-in performs sorting for Chinese characters.
* localeCompare MDC documentation.
* Please also see note about localeCompare and IE9.
* @name Chinese (string)
* @anchor chinese-string
* @author Patrik Lindstr�m
*/
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"chinese-string-asc" : function (s1, s2) {
return s1.localeCompare(s2);
},
"chinese-string-desc" : function (s1, s2) {
return s2.localeCompare(s1);
}
} );