function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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?
balram kambojbalram kamboj
As I think , This is for the sorting of records in dataTable .
I am searching for Explanation that how it works ? Can Anyone please tell ? 

Thanks