Add sort and pagination to index_tags.