implemented sorting for blogposts