Finished page control logic to limit the number of displayed pages. Also sorted comments by date descending.