+ Start a Discussion

Can we use Custom Settings for Sorting purpose?


Can anyone please tell me that what is the use of Custom Settings? I had created one Visualforce page which contains one Pageblocktable which have six columns, now I want to sort the data by clicking on column header so, when user clicks on column header than the data should be sorted in "Ascending" or "Descending" order.

So, my question is, is it possible through Custom Settings? If it is not than tell me any other way to do that.

we can't get the sorting feature as a default when you are using VF pages in case of custom settings or custom object. So you need to write the logic to do that.... 
some exapmle http://blogforce9dev-developer-edition.ap1.force.com/PageblockTableEnhancerADVDemo
Hi Kiran,
Thanks for quick replay can you please tell me how can I do sorting? I am new to Salesforce so, I didn't know anything