Added a default sort order for pages, posts and contents. Added contain statements to Pagination calls.