lib/query/SortOrderComparator.js
function SortOrderComparator(sortOrder, options) {
        this.sortOrder = sortOrder;
        this.options = {
            casesensitive: false
        };
        if (options) {
            _.extend(this.options, options);
        }
        this.expressions = new Array(sortOrder.sortFields.length);
        for (var i = 0; i < this.expressions.length; ++i) {
            this.expressions[i] = new JsonPath_1.JsonPath(sortOrder.sortFields[i].name);
        }
    }
function SortOrderComparator(sortOrder, options) {
        this.sortOrder = sortOrder;
        this.options = {
            casesensitive: false
        };
        if (options) {
            _.extend(this.options, options);
        }
        this.expressions = new Array(sortOrder.sortFields.length);
        for (var i = 0; i < this.expressions.length; ++i) {
            this.expressions[i] = new JsonPath_1.JsonPath(sortOrder.sortFields[i].name);
        }
    }
function SortOrderComparator ( sortOrder , options ) { this . sortOrder = sortOrder ; this . options = { casesensitive : false } ; if ( options ) { _ . extend ( this . options , options ) ; } this . expressions = new Array ( sortOrder . sortFields . length ) ; for ( var i = 0 ; i < this . expressions . length ; ++ i ) { this . expressions [ i ] = new JsonPath_1 . JsonPath ( sortOrder . sortFields [ i ] . name ) ; } }
constructs a compiled SortOrder for object comparison.

@param sortOrder to realize.
constructs a compiled SortOrder for object comparison .