I have a problem with sorting strings which include integers. If I use the below code I get sorting like: 1some, 2some, 20some, 21some, 3some, some
However I want it
You can't use the default String compareTo() instead need compare the Strings following the below algorithm.
Repeat the steps.