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) .
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?
I am searching for Explanation that how it works ? Can Anyone please tell ?
Thanks