Hello All,
I want to sort my list order by sno.
This is my code,
List<Employee>list=new ArrayList<Employee>();
Employee class has fields, one of field is sno (its String type); this field values are like this format
1.2.1
1.2.3
1.5.5
1.5.3
I want to sort this serial no. I used comparator but I dint get sorted output. Is there any option to sort this format of values?
Thanks,