const sortFunction = arr => {
return arr.sort(function (a, b) {
return a.charCodeAt(0) - b.charCodeAt(0);
}); // (a,b)=>(a.charCodeAt(0) - b.charCodeAt(0))
};
08-21
345
06-29
1747
07-12
2483
07-09
3718