diff --git a/packages/components/src/DataList/components/DataListHeaderTile/DataListHeaderTile.tsx b/packages/components/src/DataList/components/DataListHeaderTile/DataListHeaderTile.tsx index ce17e7dd4b..4f5a8c3ed3 100644 --- a/packages/components/src/DataList/components/DataListHeaderTile/DataListHeaderTile.tsx +++ b/packages/components/src/DataList/components/DataListHeaderTile/DataListHeaderTile.tsx @@ -109,7 +109,7 @@ export function DataListHeaderTile({ setIsDropDownOpen(!isDropDownOpen); } else { const id = sortableItem?.options?.[0]?.id || headerKey; - toggleSorting(id, headerKey, headers[headerKey]); + toggleSorting(headerKey, id, headers[headerKey]); } }