Added filtering and sorting to the items table.