Tag Archives: Prototype

Sorting an array of objects with the sortBy method of Prototype

Here is an example of how easy it is to sort an array of objects using the Enumerable.sortBy method of the Prototype framework: var obj1 = { lastName : “Lacava”, firstName : “Alessandro” }; var obj2 = { lastName : … Continue reading

Posted in IT, Programming | Tagged , | Leave a comment