sort post and year