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

Sorting based on DateTime



I am retrieving data by consuming a webservice and displaying it in the visual force page using the page block table. I need to sort the records based on the date. Can anyone guide me to achieve this requirement.


Thanks in advance

Best Answer chosen by Admin (Salesforce Developers) 

Use Ext js sorting functionality.. Try to explore main.js, you will get some help on it.