I receive data from the server - an array of categories: interface Category {id: number, name: string, items: []}
interface Category {id: number, name: string, items: []}
I want to create a group based on each cate