basic skeleton for new db sort by cat set