Added a categoryList function (like the itemList function