I tried collection.sort and hash maps but it is sorting it in dictionary
order. this array is list of web-elements text.
Scenario : my application is providing these values in a sorted manner and i need to verify that.so i am picking these values in an array list....and further i tried .......using collection sort ...its not working
Array need to be sorted
[A01B, A01D41, A23G4, A41D19, A43B1, A43B1, A43B13, A43B13, A43B5, A43B5, A43B7, A43C1, A46B, A46B1, A46B15]
Expected Array
[A01B,A01D41,A23G4,A41D19,A43B1,A43B1,A43B5,A43B5,A43B7,A43B13,A43B13,A43C1,A46B,A46B1,A46B15]