Hi All,
I have an ArrayList of type String.
The values are like below:
1206 Grocery
1107 Oil
3001 Food
So I want to show in ascending order based on the first 4 digit of the String and should yield the result as below:-
1007 Oil
1206 Grocery
3001 Food.
Thanks in advance.