FYI I use this to auto generate an alphabet for me:
$alpha = 65;
while($alpha <= 90)
{
echo chr($alpha)."<br>";
$alpha++;
}
so you could tinker with it to include hyperlinks for each letter which will modify the sql to look for that letter as advised above etc.