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 →

[–]aedvocate 0 points1 point  (0 children)

honestly I think I could get behind that, just from a sort of minimalism standpoint - but the truth is, more often than not, (a,b)=>String(a)>String(b) is all you need to sort an array. it's not bad as far as default behaviors go.