     func searchForProducts() {
         let placement: RCHRequestPlacement = RCHRequestPlacement.init(pageType: .search, name: "find")
         let searchBuilder: RCHSearchBuilder = RCHSDK.builder(forSearch: placement, withQuery: searchTerm)
-        searchBuilder.setPageStart(pageStart)
-        var sortString = ""
-        var orderASC = true
-        
-        switch currentSort {
-        case .priceLowest:
-            sortString = "product_pricecents"
-            orderASC = true
-            break
-        case .priceHighest:
-            sortString = "product_pricecents"
-            orderASC = false
-            break
-        case .newest:
-            sortString = "product_release_date"
-            orderASC = false
-            break
-        case .relevance:
-            sortString = "product_relevance"
-        }
-        
-        if sortString != "product_relevance" {
+        searchBuilder.setPageStart(pageCount * 20)
+        let sortString = currentSort.description
+        let orderASC = currentSort.order
+        
+        if currentSort != .relevance {
             searchBuilder.addSortOrder(sortString, ascending: orderASC)
         }
 

    func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        searchTerm = autocompleteSuggestions[indexPath.row]
        dismissSearch()
    }
    
    // MARK: UIPickerViewDelegate

        sortFilterView.isHidden = true
        if !searchTerm.isEmpty {
            autocomplete(withQuery: searchText)
            timer?.invalidate()
            timer = Timer.scheduledTimer(timeInterval: 0.5, target: self, selector: #selector(self.searchForProducts), userInfo: nil, repeats: false)
        } else {
            searchProductsView.isHidden = true
        }
