Reply
Regular Contributor
Heena
Posts: 24
0

Sorting in a data table

Hi,

 

I am trying to build the same sorting functionality we have in the Enhanced list view in a data table in my visualforce page. 

 

When the user clicks on the column the data is sorted wrt that column. My trouble is this data is coming from a webservice and is stored in form of arrays of a custom class instead of some object in salesforce. How do i perform the sort. 

 

Does visualforce or apex have any standard function or class to sort data. Or will i have to implement some sorting algorithm to do this.

 

Thanks,

Heena

Regular Contributor
Adil_SFDC
Posts: 69
0

Re: Sorting in a data table

Hi 

 

Did you by any chance got to the solution . Please share asap as I am stuck at a point where i recieve documents from Website on VF Page and i want to sort that descending. 

 

Adil