Originalliy posted by Muhammad Ali:
For this I'd have to implement the sort method.
Actually not. Wirianto Djunaidi is quite right. Have a look at the java.util.Comparator interface. You don't have to implement sort(), but to provide a Comparator which performs a comparison on pairs of your bean objects. For each column to sort, you can provide a different Comparator.
Regards,
Thomas