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
tanu SFDCtanu SFDC 

How to Add the shorting in custom Pagination.

All Answers

@Karanraj@Karanraj
Check this trailhead module which explains you the elegant way to implement sorting in visualforce page. Check the "Add a New Action Method" section - https://developer.salesforce.com/trailhead/force_com_dev_beginner/visualforce_fundamentals/visualforce_custom_controllers