rails/rails — pull request #8065 by cfabianski (2012-10-29 18:27:15+00:00)
Title: Remove the sort in the serialization methods used by as_json

- It's easier to order the keys afterwards than to unorder.
- Normally, we shouldn't waste some time to order the keys as it is a json object, the ordering doesn't matter.