Refactor, fix order on all posts page