Thread
:
Questions and suggestions about ArrayFindString and sorting natives
View Single Post
shauli
Member
Join Date: Jun 2018
09-05-2018 , 11:52 Re: Questions and suggestions about ArrayFindString and sorting natives
#
3
Quote:
Originally Posted by
HamletEagle
SortCustom1D(and other natives probably) uses qsort to perform the actual sorting.
http://www.cplusplus.com/reference/cstdlib/qsort/
Documentation says the order of equal elements is undefined, this is why.
Thanks, that explains it.
So basically if i'll do 'return 1' for equal items it will work as I expected.
shauli
View Public Profile
Send a private message to shauli
Find More Posts by shauli