mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-16 12:45:49 +02:00
16 lines
296 B
JavaScript
16 lines
296 B
JavaScript
define(["exports", "string"], function (exports, _string) {
|
|
"use strict";
|
|
|
|
var Str = _string.Str;
|
|
|
|
|
|
var Sort = {
|
|
ignoreCase: function (a, b) {
|
|
var x = Str.lower(a);
|
|
var y = Str.lower(b);
|
|
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
|
|
}
|
|
};
|
|
|
|
exports.Sort = Sort;
|
|
}); |