Fixed reversed sorting order on category page.