I have a simple class
public class Address {
public String name;
public long mobile;
private String description;
private String address;
private boolean live;
}
and List addressList. I want to sort the AddressList object by name. Please help me out as i am new to java.