Add pagination and sorting by column to post index