You can easily sort a forum alphabetically by subject by clicking the SUBJECT link in the topic page (postlist).
Here is the URL to sort this forum alpha, ascending:
<br />https://ubbdev.com/forum/postlist.php?Cat=&Board=php&page=0&view=collapsed&sb=2&o=<br />
So you could just append the extra "&page=0&view=collapsed&sb=2&o=" to the URL for those forums you want sorted in this fashion in to your UBBTHREADS.TMPL file.
In UBBTHREADS.TMPL find:
<br /><a href="{$config['phpurl']}/postlist.php?Cat=$Cat&Board={$forum[$c][$f]['Keyword']}"><br />
Change it to:
<br /><a href="{$config['phpurl']}/postlist.php?Cat=$Cat&Board={$forum[$c][$f]['Keyword']}{$forum[$c][$f]['SortBy']}"><br />
$forum is an multi-dimensional array that holds display and organization info about each forum. We are going to add an entry in that array called "SortBy" and stick our sort info in it, and then append it to the URL on the forums page.
Then open UBBTHREADS.PHP and find:
<br />$forum[$x][$y]['Keyword'] = $Keyword;<br />
After that add:
<br />if ($Keyword == "XXXX") {<br /> $forum[$x][$y]['SortBy'] = "&page=0&view=collapsed&sb=2&o=";<br />}<br />else {<br /> $forum[$x][$y]['SortBy'] = "";<br />}<br />
Replace XXXX with the Keyword of the forum you want to sort. If you want to sort more than one forum alphabetically by subject, the just change the "if" statement to:
<br />if (($Keyword == "XXXX") || ($Keyword == "YYYY")) {<br />
That will make is so that the forums identified by the keywords you specify will be sorted alpha, ascending when the user clicks on the link to open the forum.
Hope that helps!