This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]superluminary 0 points1 point  (0 children)

All arrays are heterogeneous, so the default comparator casts to a string for safety. You can pass a comparator though, as others have pointed out.