Although Id say you should use JSON.parse (or a polyfill like json2) instead of "".evalJSON. And note that you will get back an object, not an array!I intend to use Prototype.js and Scriptaculous.js libraries. JSON return type is an array of objects. Hence sort method cannot be used directly to sort the array. However we can use a comparer function as the argument of the sort method to get the sorting implemented.Array.prototype.sort(). Because Prototype.js (or another library that you are using) defines an Array.prototype.toJSON() function, arrays are first converted to strings using Array.prototype.toJSON() then string quoted by JSON.stringify(), hence the incorrect extra quotes around the arrays. Aplicacin optimizada para Internet Explorer 5.