Implemented inventory item sorting by category