fixed sort in searchActivity and simplified code using cssQuery