order by alphabetically in wordpress code example Example: query sort alphabetically wp $args = array( 'orderby' => 'title', 'order' => 'DESC', );