added paging. Additionally, table is now sorted by row 3