Lines Matching refs:compare
381 …return order * tkst[datatype].compare(TableKit.getCellText(a.cells[index]),TableKit.getCellText(b.…
458 if(options.compare) {
459 this.compare = options.compare;
465 compare : function(a,b){ method in TableKit.Sortable.Type
466 return TableKit.Sortable.Type.compare(this.normal(a), this.normal(b));
473 TableKit.Sortable.Type.compare = function(a,b) { function
591 compare : function(a,b) { // must be standard javascript date format
593 return TableKit.Sortable.Type.compare(new Date(a),new Date(b));
595 return TableKit.Sortable.Type.compare(a ? 1 : 0, b ? 1 : 0);
600 compare : function(a,b) {
603 return TableKit.Sortable.Type.compare(new Date(ds + a),new Date(ds + b));