|  | @@ -76,10 +76,9 @@ | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 76 | 76 |              $categories = array_shift($artefacts[CopyCategoryObserver::ARTEFACT_TYPE]); | 
                                                                                                            
                                                            | 77 | 77 |   | 
                                                                                                            
                                                            | 78 | 78 |              // sort them by the path + store_view_code | 
                                                                                                            
                                                            | 79 |  | -            usort($categories, function ($a, $b) { | 
                                                                                                            
                                                            |  | 79 | +            usort($categories, function($a, $b) { | 
                                                                                                            
                                                            | 80 | 80 |                  return | 
                                                                                                            
                                                            | 81 |  | -                    strcmp($a[ColumnKeys::PATH], $b[ColumnKeys::PATH]) ?: | 
                                                                                                            
                                                            | 82 |  | -                    strcmp($a[ColumnKeys::STORE_VIEW_CODE], $b[ColumnKeys::STORE_VIEW_CODE]); | 
                                                                                                            
                                                            |  | 81 | +                    strcmp($a[ColumnKeys::PATH], $b[ColumnKeys::PATH]) ?: strcmp($a[ColumnKeys::STORE_VIEW_CODE], $b[ColumnKeys::STORE_VIEW_CODE]); | 
                                                                                                            
                                                            | 83 | 82 |              }); | 
                                                                                                            
                                                            | 84 | 83 |   | 
                                                                                                            
                                                            | 85 | 84 |              // replace the artefacts to be exported later | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.