optimizes repetative sorting

Should we changed this line to read `if getattr(self, '_posts_sorted', False):`, since `is False` comparison is frowned upon (https://www.python.org/dev/peps/pep-0008/#id41).