Sort indexes alphabetically, like Rails does.
Merge pull request #134 from where/master

Sort indexes alphabetically, like Rails does.