Here is my code. I have several fields in the table that will have a variety of different entries. I want to be able to click on each field header on a page which will then do a query which will group the results of the list (i.e. put all the reds together) and then put them in descending order. (the most reds, followed by blues, greens, etc.) I might even want to have the number of each color in a table next to each color (i.e. red - 5, blue - 3, green - 1) Help please, I'm stuck.