I'm trying to sort out a movie listing webpage that lists all the movies in sequence according to their #TITLE#. Currently the software automatically generates a web page based off of a template file. Below is the portion of the coding in the template file that lists the movies:
<!-- Latest additions-->
#LATEST_ADDITIONS_START#
<div class="header">Movie Cover Listings</div>
#LATEST_ADDITIONS_TEMPLATE_START#
<li>
<a href="movies/#INDEX#.htm">
<table style="display: inline; border: 0; cellspacing: 1;">
<tr align="center">
<td align="center"><img border="0" src="covers/#COVER#.jpg" width="#WIDTH#" height="#HEIGHT#"></td>
</tr>
<tr align="center">
<td width="80" height="100" align="center" valign="top">#TITLE#</td>
</tr>
</table>
</a>
</li>
#LATEST_ADDITIONS_TEMPLATE_END#
<div class="link_latest"><tr>#LATEST_ADDITIONS#</tr></div>
#LATEST_ADDITIONS_END#
<!-- All movies -->
This is what the programs generates from the database using the template file:
<!-- Latest additions-->
<div class="header">Movie Cover Listings</div>
<div class="link_latest"><tr>
<li>
<a href="movies/2.htm">
<table style="display: inline; border: 0; cellspacing: 1;">
<tr align="center">
<td align="center"><img border="0" src="covers/000002.jpg" width="90" height="135"></td>
</tr>
<tr align="center">
<td width="80" height="100" align="center" valign="top">3 Days to Kill</td>
</tr>
</table>
</a>
</li>
<li>
<a href="movies/1.htm">
<table style="display: inline; border: 0; cellspacing: 1;">
<tr align="center">
<td align="center"><img border="0" src="covers/000001.jpg" width="89" height="135"></td>
</tr>
<tr align="center">
<td width="80" height="100" align="center" valign="top">300: Rise of an Empire 3D</td>
</tr>
</table>
</a>
</li>
</tr></div>
<!-- All movies -->
As you can see it orders it automatically in numerical descending order by #INDEX# file name. I want to order it alphabetically by #TITLE# name.
Does anyone have a clue how to do that?
Thank you for the help.