correcting bug on sorting futur posts