JavaScript: sort() method ~> Array