r/programminghorror
•
u/Leonnee
•
Jun 12 '25
•
1
Javascript Javascript is filled with horror
2.4k
Upvotes
View all comments
Show parent comment
1
u/[deleted] Jun 14 '25
You can implement sort with <, other languages like C++ and C do. That would be a change to sort, but we are talking about a better sort definition (we obviously can’t change sort’s default now anyway).