Sort Lists

Hi dear all
I have created the following web site

and I would like on top of product pages to put a sort by name, price, material like the following one

Could someone help me and let me know how to develop such a system?
The code I know is php, mysql (not an expert) and html , javescript
Thank you very much

This is a table sorter that gets frequent use, for looking good and doing an effective job.

Thanks you very much for the links I have tried this but it is not working as it classes with the light box javascripts
Also my list of products are in ul, li and I do not think so that the table will suit in my design
Thanks again