Calculate pagination for the front page
Add the pagination itself for the front page
Sort the branches of a repo