Fix Relation#sort_by to handle a list of attribute names