I have a list of java object that have 4 members.
int id;
String name;
String age;
int order;
I want to sort the list of this object w.r.t name
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sort all member/state on behalf of value of myString i.e if myString is name then sort by name vice versa.