diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php
index 52c090097..3117d655f 100755
--- a/classes/controller/FrontController.php
+++ b/classes/controller/FrontController.php
@@ -808,7 +808,7 @@ class FrontControllerCore extends Controller
// 'orderwaydefault' => Tools::getProductsOrder('way'),
$stock_management = Configuration::get('PS_STOCK_MANAGEMENT') ? true : false; // no display quantity order if stock management disabled
- $order_by_values = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity');
+ $order_by_values = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position', 5 => 'manufacturer_name', 6 => 'quantity', 7 => 'reference');
$order_way_values = array(0 => 'asc', 1 => 'desc');
$this->orderBy = Tools::strtolower(Tools::getValue('orderby', $order_by_values[(int)Configuration::get('PS_PRODUCTS_ORDER_BY')]));
$this->orderWay = Tools::strtolower(Tools::getValue('orderway', $order_way_values[(int)Configuration::get('PS_PRODUCTS_ORDER_WAY')]));
diff --git a/controllers/admin/AdminPPreferencesController.php b/controllers/admin/AdminPPreferencesController.php
index ee69e93ea..fe5fdc1a6 100644
--- a/controllers/admin/AdminPPreferencesController.php
+++ b/controllers/admin/AdminPPreferencesController.php
@@ -117,6 +117,7 @@ class AdminPPreferencesControllerCore extends AdminController
array('id' => '4', 'name' => $this->l('Position inside category')),
array('id' => '5', 'name' => $this->l('Manufacturer')),
array('id' => '6', 'name' => $this->l('Product quantity'))
+ array('id' => '7', 'name' => $this->l('Product reference'))
),
'identifier' => 'id'
),
diff --git a/themes/default/mobile/category-product-sort.tpl b/themes/default/mobile/category-product-sort.tpl
index 7768476e5..c352cd688 100644
--- a/themes/default/mobile/category-product-sort.tpl
+++ b/themes/default/mobile/category-product-sort.tpl
@@ -64,6 +64,8 @@
{if $PS_STOCK_MANAGEMENT && !$PS_CATALOG_MODE}
{/if}
+
+
diff --git a/themes/default/product-sort.tpl b/themes/default/product-sort.tpl
index 7fd0d5e39..89e6ec382 100644
--- a/themes/default/product-sort.tpl
+++ b/themes/default/product-sort.tpl
@@ -67,6 +67,8 @@ $(document).ready(function()
{if $PS_STOCK_MANAGEMENT && !$PS_CATALOG_MODE}
{/if}
+
+