I've been looking for a while and want a way to sort a Javascript object like this:
[{"a":"111","C":"333","B":"222"},{{"A":"111","C":"333","B":"222"}]
and sort is alphabetically by name to get:
[{"a":"111","B":"222","C":"333"},{{"A":"111","B":"222","C":"333"}]
Please suggest any solution