Given the following AR models, I would like to sort users alphabetically by last name when given a handle to a task:
#user has_many :assignments has_many :ta
You could also create a new 'sort_order' column on the assignment table, and add a default scope like
default_scope { order('sort_order desc')}
to your assignments model.