/**
  * returns the SORT part of the final selection of products.
  * @return DataList (allProducts)
  */
 protected function sortCurrentFinalProducts($alternativeSort)
 {
     if ($alternativeSort) {
         if ($this->IsIDarray($alternativeSort)) {
             $sort = $this->createSortStatementFromIDArray($alternativeSort);
         } else {
             $sort = $alternativeSort;
         }
     } else {
         $sort = $this->currentSortSQL();
     }
     $this->allProducts = $this->allProducts->Sort($sort);
     return $this->allProducts;
 }