I have an array a=["Apple","Mango","apple","mango"]
.If I use the a.sort()
the result is
["Apple", "Mango", "apple", "mango"]
But What i desire is
Apple,apple,Mango,mango
Remember It is not case inSesitive search as whatever the order of given element in the array be ,the output should be as
Apple apple Mango mango Means the capital letter should precedes the smaller one