+ Start a Discussion

Issue in sorting on pageblocktable displaying data on the basis of listview option.

I am facing issue in sorting the pageblock table.
I am created a VF page where I have created a picklist to show the listview options of my custom object "Project"  using projsetcontroller.getListViewOptions() method. Based on the option selected in list view , I am showing the list of records in pageblock table using projsetcontroller.setFilterId()
Code is working fine till here.
Now if I am trying to sort of any column in the table. It is always returning the record in ASC order. Sort fucntionality seems not working.
Is there anyone who has done this functionality. Please let me know
ShashankShashank (Salesforce Developers) 
Here is a similar discussion which you might find helpful: https://developer.salesforce.com/forums/ForumsMain?id=906F00000008xfDIAQ