datalist: [
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
]
split into several arrays according to categoryName. How should I write it?
[{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},];
[{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},]
[{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},
{categoryId: "f5665104-cff9-47c9-b44c-b92694e45767", categoryName: ""},]