#5 : fix sorting by date