Sort pages by date in index