I'm trying to sort a multidimensional array. what should i put on the callback of javascript .sort() function to make it behave like mysql order by?
Example. Using mysql order by, result:
acx,
acx abx,
acx acx,
S&P/ASX 20
Using sort function in js, result:
S&P/ASX 20,
acx,
acx abx,
acx acx
Thank you.
[javascript] string sort case.