I have three String
arrays
A: [-22, -3, 2.2, a]
B: [-22, -3, 2.2, b]
C: [-22, 0, 2.2]
After sorting I want to get this sequence
C: [-22, 0, 2.2]
A: [-22, -3, 2.2, a]
B: [-22, -3, 2.2, b]
The comparison between a pair of arrays is done on the first element in the arrays. If the element is identical, the second element, and so on.
What comparator must be used?