Submitted By: Anonymous on September 22, 2016
2
1
5094
It's a common issue with loosely typed languages, not knowing if you should be looking at them numerically or alphabetically.
0
September 23, 2016, 8:06 am
try: [1001,101,1,2].sort((a, b) => a>b)
Please Signin or Signup to add a comment