Skip to content

Commit 6c4c8aa

Browse files
authored
Update Details.php
1 parent af10d44 commit 6c4c8aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Catalog/Block/Product/View/Details.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ public function getGroupSortedChildNames(string $groupName, string $callback): a
4040
$childNamesSortOrder[$childName] = $sortOrder;
4141
}
4242

43-
asort($childNamesSortOrder);
44-
$childNamesSortOrder = array_keys($childNamesSortOrder);
43+
asort($childNamesSortOrder, SORT_NUMERIC);
4544

46-
return $childNamesSortOrder;
45+
return array_keys($childNamesSortOrder);
4746
}
4847
}

0 commit comments

Comments
 (0)