I want to list items sorted by the name column of the associated categories table I\'ve tried using includes, joins, merge