how to use sorting for string Array in js code example
Example: sort a string in javascript
var string='ACBacb';
var sortedString = string.split('').sort().join('');
var string='ACBacb';
var sortedString = string.split('').sort().join('');