There is a array like that ---> [[text1, number1], [text2, number2]...]
I want to sort to this array(by first elements(texts)). This texts contains different characters such as ı, ç, ö... I found to location method but i couldn't use it. Also I want to describe own function.