Add sorting and pagination capabilities to table

However, pagination menus aren't yet rendered