fixed sort field for polymorphic models