What are you using to display the data in a list box? It is, generally speaking, the front end that formats the data.
If you are using Access or VB (for example), I would look to those software packages to see if you can format the data in the list box.
You could probably write a fairly complex piece of SQL to do the job, but I think that is should be done at the front end.
Marc