+ Start a Discussion
GAURAV GUNJAN 1GAURAV GUNJAN 1 

Please explain:sortBy: function (field, reverse, primer) { var key = primer? function(x) { return primer(x[field]) } : function(x) { return x[field] }; return function (a, b) { var A = key(a); var B = key(b); return reverse * ((A > B) .

pconpcon
This is not code that is compatible with Apex or most of the Salesforce platform.  Can you please explain where you using this and why are you are trying to get information about it?