I need to sort an array in javascript..
anyone how to do that??
by default the sort method doesn't work with numbers...
I mean:
a = [1, 23, 100, 3] a.sort()
a values are:
[1, 100, 23, 3]
thanks :)