implemented filter, sort, and pagination tables