add a feature to alphabetize properties of object literals in JavaScript