I have an antd Table with a sortable column. This table's rows might or might not be styled. When I sort the rows the style is overwritten. Is there a way to prevent this?
Here's an example of an styled row.

And here's what happens when I sort the rows.

Here's what my Due Date column definition looks like:
{
title: 'Due Date',
dataIndex: 'due_date',
key: 'due_date',
sorter: (a:any, b:any) => new Date(a.due_date).getTime() - new Date(b.due_date).getTime(),
defaultSortOrder: 'ascend' as 'ascend'
}