Sorting articles according to date