diff --git a/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx b/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx index ecc3343c2..5a41ae937 100644 --- a/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx +++ b/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx @@ -502,7 +502,7 @@ export function getSelectedItems( selection: Selection, ): T[] { return [...selection.items] - .sort() + .sort((a, b) => a - b) // https://stackoverflow.com/a/15765283/1983583 .map((i) => dataSource.view.get(i)) .filter(Boolean) as any[]; }