Use methods defined on models as sort keys.