Sorting two objects by two different fields (by date then another number)
Posted on 2006-04-27
What would be the best way to sort two objects by date and then by another number say phone number?
Boths Objects have a date field, a text field, and an another number say a phone number. I would like to sort by the data first and then by the phone number. I should use a treelist/comparator.
I've been looking for examples or good info on sorting twice. any ideas of where to look? Or examples?