I have a data input file with a series of Strings. For example:
0001zz99ab9ssss
0002zz4p921ssss
0003zz123i5ssss
0004zzA9382ssss
0005zz4p921ssss
I want to sort these strings based off of the substring (6,11) in ascending order. So the output should be:
0003zz123i5ssss
0002zz4p921ssss
0005zz4p921ssss
0001zz99ab9ssss
0004zzA9382ssss
I'm also using ArrayLists if that helps.