Output documents ordered by date