Sorting Bean Objects in an ArrayList

Hi there,

I have an arraylist of custom Publication Objects which have attributes such as title, publicationDate, department, region etc.

However I need some way to be able to sort this arrayList depending on what the user has entered as a sort filter from the web form.

Does anyone know of a way to do this.

Much appreciated

[356 byte] By [jonesy21a] at [2007-10-3 4:31:10]
# 1

//java.util.Collections

public static void sort(List list,

Comparator c)

/*

Sorts the specified list according to the order

induced by the specified comparator.

*/

BIJ001a at 2007-7-14 22:34:33 > top of Java-index,Core,Core APIs...