Open navegador5 opened 1 month ago
The keys are sorted as strings ("11" < "2" === true
). No preference is given to integer index like strings.
for any entry two entries a and b, a will be placed before b if the result of performing Abstract Relational Comparison a.[[Key]] < b.[[Key]] is true.
the document mentioned:
what is the sort rule? A or B ?
_A. first sort index-like keys : ("1", "15", "6"... ), then others ["aa","bb","cc"]__ B.just sort them together : [1,15, 6, "aa","bb","cc"]