9
Reply

How do you sort an Array of Numbers and an Array of Characters?

Anurag Tomar

Anurag Tomar

9y
314
0
Reply
    For Sorting of an Array of Numbers :: tempArray.sort(function(a,b) {return a-b; } ));For Sorting of an Array of Characters :: tempArray.sort();
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode
    Array of number by comparing numbers & characters by there Unicode