fixed sorting issue with new posts