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 columns on a VF page

I have a simple visual force page listing case numbers with some details.

I have spent days searching for a way to let the user resort the columns on the page.

I found many discussions and lots of code attempting to do the same.

My question is:

Why can't I use the existing tools in SF? When in SF looking at cases in queves I can sort ascending and descending on columns.

I saw developers uploading up and down arrows images. Why do we need to do that if those images already exist in Sales Force?

Is there anyway to use the code and the images  that SF uses to resort columns in a visual page using apex?