The ps3_categories table is not the table being selected from in the products query, so you can't use the categories to order the products. I believe you'd want to use the GroupingID for this purpose.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.