I have this very long list of MS. Excel's row tags.
It's not ordered by column well
$rowTags = [
'A1',
'B1',
'C1',
'D1',
'EE42',
'F1',
'G1',
'B2',
'C2',
'D2',
'B3',
'C3',
'D3',
'B4',
'C4',
'DD41',
'B5',
'C5',
'D5',
'B6',
'C6',
'D6',
'B7',
'C7',
'D7',
'B8',
'D8',
'B9',
'DD93',
'B10',
'C10',
'D10',
'B11',
'C11',
'D11',
'B12',
'C12',
'ABC122',
'B13',
'C13',
'AB13',
'B14',
'AA52',
'C14',
'D14',
'B15',
'B16',
'B17',
'B18',
'B19',
'B20',
'C20',
'D20',
'B21',
'C21',
'D21',
'AA53',
'C22',
'D22',
'C23',
'D23',
'C24',
'D24',
'C25',
'C30',
'D30',
'C31',
'D31',
'C32',
'D32',
'C33',
'D34',
'DD52',
'D36',
'C40',
'D40',
'C41',
'D41',
'DD62',
'C42',
'D42',
'C43',
'D43',
'C44',
'D44',
];
done this with php:
usort($rowTags, function ($item1, $item2) {
return $item1 <=> $item2;
});
to sort it from the lowest to highest value, expecting that it's ordered by column well, much like columns in Excel. But the fact is the result is still unexpected.
This is an image so you can understand my question better

