Stanislav Korotky: Well, then what answer would you mean to get? Probably OP has no need in descending order sorting. Apart from this ArraySort works correctly.
I didn't talk to OP about ArraySort() but to James. I didn't expect any answer, my point was just to illustrate arrays limitation.
The fact is ArraySort() in mql5 is not allowing descending order on multi-dimensional array, right ?
The fact is multi-dimensional arrays in mql5 are very limited, even more than with mql4.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Well, then what answer would you mean to get? Probably OP has no need in descending order sorting. Apart from this ArraySort works correctly.
I didn't talk to OP about ArraySort() but to James. I didn't expect any answer, my point was just to illustrate arrays limitation.
The fact is ArraySort() in mql5 is not allowing descending order on multi-dimensional array, right ?
The fact is multi-dimensional arrays in mql5 are very limited, even more than with mql4.
So, what's your point ?