Use methods defined on models as sort keys.
Merge remote-tracking branch 'upstream/master'
Set up badges for branch.
Add sorting tests.
Revert "Set up badges for branch."

This reverts commit 7fb8e04f390f899998696bf41f56958d4262801c.
Merge pull request #2 from peret/master

Use methods defined on models as sort keys.