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
has_many :users, -> { order(:last_name, :first_name) }, :through => :assignments, source: 'user'