Ok I had to consult with an Apache person for this who stated that it's a .htaccess issue... this fixes the sorting problem but there's a small PHP problem now that I'm hoping someone can help with...
To Fix, replace the current .HTACCESS with the following:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/search/category,(for-sale|jobs|real-estate|personals|services|community|vehicles|classes)/sOrder,dt_pub_date/iOrderType,desc$
RewriteRule ^search/category,(for-sale/|jobs/|real-estate/|personals/|services/|community/|vehicles/|classes/)(.*)$ http://%{HTTP_HOST}/search/category,$2 [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Now, whenever you add a new category to your site, You should append that new Category name to above two Lines.
Example : If you add a new Category "electronics"
The above Rewrite Lines will be modified as below:
1. RewriteCond %{REQUEST_UR I} !^/search/category,(for-sale|jobs|real-estate|personals|services|community|vehicles|classes|electronics)/sOrder,dt_pub_date/iOrderType,desc$
2. RewriteRule ^search/category,(for-sale/|jobs/|real-estate/|personals/|services/|community/|vehicles/|classes/|electronics/)(.*)$ http://%{HTTP_HOST}/search/category,$2 [L]
In the First Line i have added "|electronics"In the Second Line i have added "|electronics/". This solves the sorting issue.
Problem now is that the Category name disappears when you click on any sorting function after the results are displayed. I was told that this could be solved using PHP.
Can anyone help?