jsonQ.js
function(a) {
                                var val = jsonQ.pathValue(a, logicPath);

                                //to convert val to be compared
                                val = sortFunc.baseConv(type, val, settings);
                                return settings.logic(val);
                            }
function(a) {
                                var val = jsonQ.pathValue(a, logicPath);

                                //to convert val to be compared
                                val = sortFunc.baseConv(type, val, settings);
                                return settings.logic(val);
                            }
function ( a ) { var val = jsonQ . pathValue ( a , logicPath ) ; //to convert val to be compared val = sortFunc . baseConv ( type , val , settings ) ; return settings . logic ( val ) ; }
logic path is path which we add in on condition to find the element value according to which we are sorting
logic path is path which we add in on condition to find the element value according to which we are sorting