It is not uncommon for a WordPress blog to display a list of all posts in an alphabetical order. I was using
<?php wp_get_archives('type=postbypost');?> to display all posts by post title but I couldn’t find a way to sort the post titles in an alphabetical order. After looking at the source code (general-templates.php), I noticed that WordPress already has a built-in functionality that does that. All you need to do is replace
alpha and it will displays all posts in an alphabetical order of the post title. Not sure why it isn’t mentioned in wp get archives Template Tags page.