Closed Eswcvlad closed 4 months ago
Odd behavior of "sort":
sort([9, 8, 11, 10])
[10, 11, 8, 9]
On the other hand "sortBy" is working fine:
sortBy([9, 8, 11, 10], &@)
[9, 8, 10, 11]
Odd behavior of "sort":
sort([9, 8, 11, 10])
->[10, 11, 8, 9]
On the other hand "sortBy" is working fine:
sortBy([9, 8, 11, 10], &@)
->[9, 8, 10, 11]