I need to sort an array based on Alphabets. I tried the javascript sort () method, but it does not work, since my array consists of numbers, lowercase letters and uppercase letters. Can someone please help me with this? Thanks
For example, my array:
[ "@Basil", "@SuperAdmin", "@Supreme", "@Test10", "@Test3", "@Test4", "@Test5", "@Test6", "@Test7", "@Test8", "@Test9", "@a", "@aadfg", "@abc", "@abc1", "@abc2", "@abc5", "@abcd", "@abin", "@akrant", "@ankur", "@arsdarsd", "@asdd", "@ashaa", "@aviral", "@ayush.kansal", "@chris", "@dgji", "@dheeraj", "@dsfdsf", "@dualworld", "@errry", "@george", "@ggh", "@gjhggjghj" ]