Not quite clear that: "sort by the letter 'a'" - the letter 'a' is not a comparison test. Do you mean something like what is in the members list, where clicking 'A' gives a list of users with names beginning with 'A'? You'll notice in the 'A', 'B', etc. links there is a bit added to the querystring that tells the server which letter was selected. Then it's Lord Shryku's outline with "WHERE thingy LIKE 'a%'" or "'b%'" or whatever the letter was.