Posted By:
Christopher_Schultz
Posted On:
Friday, May 18, 2001 08:25 AM
If you will be hitting the database each time you refresh the page, then you're better off adding an
ORDER BY clause to your SQL.
Otherwise, you'll want to use the java.util.Collections class's static methods to sort your collection. You'll have to create an implementation of a Comparator to sort on the field you want to sort by (name, date, etc.).
-chris