So there is a gotcha when sorting arrays integer arrays in Javascript.
For example if you have an array
``` x = [ 1, 10, 2, 5 ]```doing x.sort() will return