I have a listview populated with contacts. In my Contact class, I have implemented comparable and I have implemented the compareTo method which compares two strings.
With this method, I can call Collections.sort(myList) and it will sort according to name.
My question is, what do I have to do in order to sort based on another category?
Thanks