Add sorting and searching of items