I want to create some custom Navigator UI where I want to sort contracts by creation time.
This is the relevant section of my frontend-config.js
:
sort: [
{
field: "createEvent.transaction.effectiveAt",
direction: "DESCENDING"
}
]
},
columns: [
{
key: "createEvent.transaction.effectiveAt",
title: "Created",
createCell: ({rowData}) => ({
type: "text",
value: rowData.createEvent.transaction.effectiveAt
}),
sortable: true,
width: 80,
weight: 0,
alignment: "left"
},
This is the result which is obviously not correct. The order of the rows don’t even change if I switch sorting direction.
Sorting by time doesn’t work on the default view either.