I am trying to order products by SKU but I got it wrong The order is on the Order page (Checkout) This is a snippet of my code
$this->_items->getSelect()->order('main_table.sku ASC'); $this->_items->getSelect()->group('main_table.item_id');
I am trying to order products having SKU : 4422; 00003001 and 00004335 but I am gotten them in this order :
How can I solve this problem, don't hesitate if you need more details?
Thanks in advance!