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
marcusaureliusmarcusaurelius 

Order by in apex:repeat

Does anyone have a code example of how to sort ascending/descending in a vf page w/o having to buid out a custom controller or extension?
stephanstephan

You won't be able to control the initial sorting without using a custom controller or extension. You could implenet something on the client side, however. See this JavaScript library, for example:

 

http://www.kryogenix.org/code/browser/sorttable/

 

...stephan