Completed part 2- added links and sorting pages