I want to sort an array of varchar data in ascending order through PHP code.
I have tried doing it, the result I am getting is :
ABC1
ABC10
ABC11
ABC11A
ABC11B
ABC2
ABC2A
ABC20
ABC3
But i want :
ABC1
ABC2
ABC2A
ABC3
ABC10
ABC11
ABC11A
ABC11B
ABC20
Is there any way to achieve this?
result
UPDATE due to discussion in comments