I have a array of integers of type string.
var a = [\'200\',\'1\',\'40\',\'0\',\'3\'];
>>> var a = [\'2
Most javascript implementations, as far as I know, provide a function you can pass in to provide your own custom sorting.
Mozilla sort Method