allow entries to be sortable when grouped by a belongs_to field