added sorting class for blog posts