We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae52aaf commit 01ff6f2Copy full SHA for 01ff6f2
1 file changed
apps/nar-v3/src/components/DatasetList.jsx
@@ -54,7 +54,7 @@ function DatasetList(props) {
54
</TableRow>
55
</TableHead>
56
<TableBody>
57
- {props.datasets.map((dataset) => (
+ {[...props.datasets].sort((a, b) => b.activities.length - a.activities.length).map((dataset) => (
58
<TableRow key={dataset.id}>
59
<TableCell>
60
<RouterLink to={uuidFromUri(dataset.id)}>
0 commit comments